Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def swap_face(source_file, target_file, doFaceEnhancer):
|
|
44 |
roop.globals.video_encoder = "libx264"
|
45 |
roop.globals.video_quality = 18
|
46 |
roop.globals.max_memory = suggest_max_memory()
|
47 |
-
roop.globals.execution_providers = decode_execution_providers(["
|
48 |
roop.globals.execution_threads = suggest_execution_threads()
|
49 |
|
50 |
print(
|
|
|
44 |
roop.globals.video_encoder = "libx264"
|
45 |
roop.globals.video_quality = 18
|
46 |
roop.globals.max_memory = suggest_max_memory()
|
47 |
+
roop.globals.execution_providers = decode_execution_providers(["cuda"])
|
48 |
roop.globals.execution_threads = suggest_execution_threads()
|
49 |
|
50 |
print(
|