Commit
·
371dfef
1
Parent(s):
9e14361
fix: set face_recognition=['many'] and reference defaults to avoid NoneType error
Browse files
app.py
CHANGED
|
@@ -54,6 +54,9 @@ def _run_local_faceswap(source_image_path: str, target_video_path: str) -> Optio
|
|
| 54 |
DF_G.temp_frame_quality = 95
|
| 55 |
DF_G.keep_temp = False
|
| 56 |
DF_G.skip_audio = False
|
|
|
|
|
|
|
|
|
|
| 57 |
DF_G.execution_thread_count = 2
|
| 58 |
DF_G.execution_queue_count = 2
|
| 59 |
# Force CPU for stability first
|
|
|
|
| 54 |
DF_G.temp_frame_quality = 95
|
| 55 |
DF_G.keep_temp = False
|
| 56 |
DF_G.skip_audio = False
|
| 57 |
+
# Face processing options
|
| 58 |
+
DF_G.face_recognition = ['many']
|
| 59 |
+
DF_G.reference_frame_number = 0
|
| 60 |
DF_G.execution_thread_count = 2
|
| 61 |
DF_G.execution_queue_count = 2
|
| 62 |
# Force CPU for stability first
|