Hotfix skip download

This commit is contained in:
henryruhs committed 2023-09-26 21:48:44 +02:00
1 parent 81797e2423
commit 3e361e7701
2 files changed
+2 -2

No files matched your search

@@ -45,7 +45,7 @@ def pre_check() -> bool:
def pre_process(mode : ProcessMode) -> bool:
if not is_download_done(MODEL_URL, MODEL_PATH):
if not facefusion.globals.skip_download and not is_download_done(MODEL_URL, MODEL_PATH):
update_status(wording.get('model_download_not_done') + wording.get('exclamation_mark'), NAME)
return False
elif not is_file(MODEL_PATH):
@@ -58,7 +58,7 @@ def pre_check() -> bool:
def pre_process(mode : ProcessMode) -> bool:
if not facefusion.globals.skip_download and not facefusion.globals.skip_download and not is_download_done(MODEL_URL, MODEL_PATH):
if not facefusion.globals.skip_download and not is_download_done(MODEL_URL, MODEL_PATH):
update_status(wording.get('model_download_not_done') + wording.get('exclamation_mark'), NAME)
return False
elif not is_file(MODEL_PATH):