Hotfix skip download

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

View File

@ -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):

View File

@ -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):