Skip to content

Commit

Permalink
Update extra_config.py
Browse files Browse the repository at this point in the history
change folders_path.models_dir to the base_path specified in extra_models_path.yaml if set.

This ensure that models get correctly uploaded to the specified path across all custom_nodes.
  • Loading branch information
dchatel authored Jan 12, 2025
1 parent 8c9b7bd commit 1a00fb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/extra_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def load_extra_path_config(yaml_path):
is_default = False
if "is_default" in conf:
is_default = conf.pop("is_default")
folder_paths.models_dir = base_path
for x in conf:
for y in conf[x].split("\n"):
if len(y) == 0:
Expand Down

0 comments on commit 1a00fb9

Please sign in to comment.