Lev1s
commited on
Commit
•
62ab745
1
Parent(s):
1460c73
Update app.py
Browse files
app.py
CHANGED
@@ -45,6 +45,7 @@ def swap_face(source_file, target_file,doFaceEnhancer):
|
|
45 |
roop.globals.video_encoder = "libx264"
|
46 |
roop.globals.video_quality = 18
|
47 |
roop.globals.max_memory = 16
|
|
|
48 |
roop.globals.execution_providers = decode_execution_providers(['cpu'])
|
49 |
roop.globals.execution_threads = suggest_execution_threads()
|
50 |
|
|
|
45 |
roop.globals.video_encoder = "libx264"
|
46 |
roop.globals.video_quality = 18
|
47 |
roop.globals.max_memory = 16
|
48 |
+
roop.globals.reference_face_position = 0
|
49 |
roop.globals.execution_providers = decode_execution_providers(['cpu'])
|
50 |
roop.globals.execution_threads = suggest_execution_threads()
|
51 |
|