tuan2308 commited on
Commit
67eabaf
1 Parent(s): 25609ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "40G"
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 = "4G"
60
  execution_providers = ["CUDAExecutionProvider", "CPUExecutionProvider"] # Ưu tiên GPU, sau đó là CPU
61
  execution_threads = 4
62
  reference_face_position = 0