michaelj commited on
Commit
787596a
1 Parent(s): 15e1805
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 = 100
47
  roop.globals.max_memory = 16
48
  roop.globals.reference_face_position = 0
49
- roop.globals.similar_face_distance = 1
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 = 50
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