Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def swap_face(source_file, target_file,doFaceEnhancer):
|
|
42 |
roop.globals.keep_frames = False
|
43 |
roop.globals.many_faces = False
|
44 |
roop.globals.video_encoder = "libx264"
|
45 |
-
roop.globals.video_quality =
|
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()
|
|
|
42 |
roop.globals.keep_frames = False
|
43 |
roop.globals.many_faces = False
|
44 |
roop.globals.video_encoder = "libx264"
|
45 |
+
roop.globals.video_quality = 1
|
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()
|