app.py
CHANGED
@@ -43,10 +43,10 @@ def swap_face(source_file, target_file,doFaceEnhancer):
|
|
43 |
roop.globals.keep_frames = False
|
44 |
roop.globals.many_faces = False
|
45 |
roop.globals.video_encoder = "libx264"
|
46 |
-
roop.globals.video_quality =
|
47 |
roop.globals.max_memory = 16
|
48 |
roop.globals.reference_face_position = 0
|
49 |
-
roop.globals.similar_face_distance = 0.
|
50 |
roop.globals.execution_providers = decode_execution_providers(['cpu'])
|
51 |
roop.globals.execution_threads = suggest_execution_threads()
|
52 |
|
|
|
43 |
roop.globals.keep_frames = False
|
44 |
roop.globals.many_faces = False
|
45 |
roop.globals.video_encoder = "libx264"
|
46 |
+
roop.globals.video_quality = 2
|
47 |
roop.globals.max_memory = 16
|
48 |
roop.globals.reference_face_position = 0
|
49 |
+
roop.globals.similar_face_distance = 0.9
|
50 |
roop.globals.execution_providers = decode_execution_providers(['cpu'])
|
51 |
roop.globals.execution_threads = suggest_execution_threads()
|
52 |
|