This commit is contained in:
suluyan
2025-02-11 20:29:53 +08:00
parent f854ef2004
commit 0ae86a48bc

View File

@@ -72,6 +72,7 @@ def check_local_model_is_latest(
use_cookies=cookies,
)
model_cache = None
# download via non-git method
if not os.path.exists(os.path.join(model_root_path, '.git')):
model_cache = ModelFileSystemCache(model_root_path)
for model_file in model_files: