michaelj commited on
Commit
38387f0
1 Parent(s): db94332
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,10 +43,10 @@ def swap_face(source_file, target_file,doFaceEnhancer):
43
  roop.globals.keep_frames = False
44
  roop.globals.many_faces = False
45
  roop.globals.video_encoder = "libx264"
46
- roop.globals.video_quality = 20
47
  roop.globals.max_memory = 16
48
  roop.globals.reference_face_position = 0
49
- roop.globals.similar_face_distance = 0.6
50
  roop.globals.execution_providers = decode_execution_providers(['cpu'])
51
  roop.globals.execution_threads = suggest_execution_threads()
52
 
 
43
  roop.globals.keep_frames = False
44
  roop.globals.many_faces = False
45
  roop.globals.video_encoder = "libx264"
46
+ roop.globals.video_quality = 2
47
  roop.globals.max_memory = 16
48
  roop.globals.reference_face_position = 0
49
+ roop.globals.similar_face_distance = 0.9
50
  roop.globals.execution_providers = decode_execution_providers(['cpu'])
51
  roop.globals.execution_threads = suggest_execution_threads()
52