Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,9 +38,9 @@ def swap_face(source_file, target_file):
|
|
38 |
roop.globals.many_faces = False
|
39 |
roop.globals.video_encoder = "libx264"
|
40 |
roop.globals.video_quality = 18
|
41 |
-
roop.globals.max_memory = suggest_max_memory()
|
42 |
roop.globals.execution_providers = decode_execution_providers(["cpu"])
|
43 |
-
roop.globals.execution_threads = suggest_execution_threads()
|
44 |
for frame_processor in get_frame_processors_modules(
|
45 |
roop.globals.frame_processors
|
46 |
):
|
|
|
38 |
roop.globals.many_faces = False
|
39 |
roop.globals.video_encoder = "libx264"
|
40 |
roop.globals.video_quality = 18
|
41 |
+
roop.globals.max_memory = 14#suggest_max_memory()
|
42 |
roop.globals.execution_providers = decode_execution_providers(["cpu"])
|
43 |
+
roop.globals.execution_threads = 32#suggest_execution_threads()
|
44 |
for frame_processor in get_frame_processors_modules(
|
45 |
roop.globals.frame_processors
|
46 |
):
|