Hotfix skip download
This commit is contained in:
parent
81797e2423
commit
3e361e7701
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user