Spaces:
Running
on
Zero
Running
on
Zero
Mayormi
#6
by
Mayorolla5
- opened
app.py
CHANGED
@@ -67,13 +67,13 @@ def swap_face(source_file, target_file, doFaceEnhancer):
|
|
67 |
roop.globals.keep_fps = True
|
68 |
roop.globals.keep_audio = True
|
69 |
roop.globals.keep_frames = False
|
70 |
-
roop.globals.many_faces =
|
71 |
roop.globals.video_encoder = "libx264"
|
72 |
roop.globals.video_quality = 18
|
73 |
roop.globals.execution_providers = decode_execution_providers(['cpu'])
|
74 |
roop.globals.reference_face_position = 0
|
75 |
roop.globals.similar_face_distance = 0.6
|
76 |
-
roop.globals.max_memory =
|
77 |
roop.globals.execution_threads = 8
|
78 |
|
79 |
start()
|
|
|
67 |
roop.globals.keep_fps = True
|
68 |
roop.globals.keep_audio = True
|
69 |
roop.globals.keep_frames = False
|
70 |
+
roop.globals.many_faces = True
|
71 |
roop.globals.video_encoder = "libx264"
|
72 |
roop.globals.video_quality = 18
|
73 |
roop.globals.execution_providers = decode_execution_providers(['cpu'])
|
74 |
roop.globals.reference_face_position = 0
|
75 |
roop.globals.similar_face_distance = 0.6
|
76 |
+
roop.globals.max_memory = 100
|
77 |
roop.globals.execution_threads = 8
|
78 |
|
79 |
start()
|