Update model_helper.py

This commit is contained in:
Inoland
2025-11-22 20:39:25 +04:00
parent 7f40e9155d
commit aa486c433d
@@ -220,7 +220,7 @@ class InoHuggingFaceDownloadModel:
"token": ("STRING", {"default": ""}),
"repo_type": ("STRING", {"default": ""}),
"revision": ("STRING", {"default": ""}),
"ignore_repo_dir": ("BOOLEAN", {"default": True}),
"ignore_repo_dir": ("BOOLEAN", {"default": False}),
}
}
@@ -229,7 +229,7 @@ class InoHuggingFaceDownloadModel:
RETURN_NAMES = ("success", "msg", "model_type", "abs_path", "rel_path")
FUNCTION = "function"
async def function(self, enabled, model_config, model_type="", model_subfolder="", repo_id="", filename="", subfolder="", token="", repo_type="", revision="", ignore_repo_dir=True):
async def function(self, enabled, model_config, model_type="", model_subfolder="", repo_id="", filename="", subfolder="", token="", repo_type="", revision="", ignore_repo_dir=False):
if not enabled:
ino_print_log("InoHuggingFaceDownloadFile", "Attempt to run but disabled")
return (False, "", "", "", "",)