From 1a00fb968f3c03b31838c043ab6a37d8ded4be8e Mon Sep 17 00:00:00 2001 From: dchatel Date: Sun, 12 Jan 2025 14:47:01 +0100 Subject: [PATCH] Update extra_config.py 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. --- utils/extra_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/extra_config.py b/utils/extra_config.py index fc47b62c1..cf2ab2764 100644 --- a/utils/extra_config.py +++ b/utils/extra_config.py @@ -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: