Skip to content

Industry leading face manipulation platform

Hotfix skip download

henryruhs3e361e7701dc
diff --git a/facefusion/processors/frame/modules/face_enhancer.py b/facefusion/processors/frame/modules/face_enhancer.py
index de14cae2..fda37b0c 100644
--- a/facefusion/processors/frame/modules/face_enhancer.py
+++ b/facefusion/processors/frame/modules/face_enhancer.py
@@ -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):
diff --git a/facefusion/processors/frame/modules/frame_enhancer.py b/facefusion/processors/frame/modules/frame_enhancer.py
index 2826bfd5..55009353 100644
--- a/facefusion/processors/frame/modules/frame_enhancer.py
+++ b/facefusion/processors/frame/modules/frame_enhancer.py
@@ -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):