Lev1s commited on
Commit
aef5fee
1 Parent(s): 59a1f9b
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -46,6 +46,7 @@ def swap_face(source_file, target_file,doFaceEnhancer):
46
  roop.globals.video_quality = 18
47
  roop.globals.max_memory = 16
48
  roop.globals.reference_face_position = 0
 
49
  roop.globals.execution_providers = decode_execution_providers(['cpu'])
50
  roop.globals.execution_threads = suggest_execution_threads()
51
 
 
46
  roop.globals.video_quality = 18
47
  roop.globals.max_memory = 16
48
  roop.globals.reference_face_position = 0
49
+ roop.globals.similar_face_distance = 0.85
50
  roop.globals.execution_providers = decode_execution_providers(['cpu'])
51
  roop.globals.execution_threads = suggest_execution_threads()
52