tuan2308 commited on
Commit
cc21c96
1 Parent(s): d861b7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,9 +56,9 @@ def swap_face(source_file, target_file, doFaceEnhancer):
56
  many_faces = False
57
  video_encoder = "libx264"
58
  video_quality = 18
59
- max_memory = "50G"
60
  execution_providers = ["CUDAExecutionProvider", "CPUExecutionProvider"] # Ưu tiên GPU, sau đó là CPU
61
- execution_threads = 4
62
  reference_face_position = 0
63
  similar_face_distance = 0.6
64
 
 
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 = 2
62
  reference_face_position = 0
63
  similar_face_distance = 0.6
64