Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def swap_face(source_file, target_file, doFaceEnhancer):
|
|
56 |
many_faces = False
|
57 |
video_encoder = "libx264"
|
58 |
video_quality = 18
|
59 |
-
max_memory = "
|
60 |
execution_providers = ["CUDAExecutionProvider", "CPUExecutionProvider"] # Ưu tiên GPU, sau đó là CPU
|
61 |
execution_threads = 4
|
62 |
reference_face_position = 0
|
|
|
56 |
many_faces = False
|
57 |
video_encoder = "libx264"
|
58 |
video_quality = 18
|
59 |
+
max_memory = "12G"
|
60 |
execution_providers = ["CUDAExecutionProvider", "CPUExecutionProvider"] # Ưu tiên GPU, sau đó là CPU
|
61 |
execution_threads = 4
|
62 |
reference_face_position = 0
|