root commited on
Commit
b0d79f4
1 Parent(s): 49f2d34
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,12 +42,12 @@ def swap_face(source_file, target_file,doFaceEnhancer):
42
  roop.globals.keep_fps = True
43
  roop.globals.keep_audio = True
44
  roop.globals.keep_frames = False
45
- roop.globals.many_faces = False
46
  roop.globals.video_encoder = "libx264"
47
  roop.globals.video_quality = 18
48
  #roop.globals.max_memory = suggest_max_memory()
49
  roop.globals.execution_providers = decode_execution_providers(["cpu"])
50
- #roop.globals.execution_threads = suggest_execution_threads()
51
 
52
  print(
53
  "start process",
 
42
  roop.globals.keep_fps = True
43
  roop.globals.keep_audio = True
44
  roop.globals.keep_frames = False
45
+ roop.globals.many_faces = True
46
  roop.globals.video_encoder = "libx264"
47
  roop.globals.video_quality = 18
48
  #roop.globals.max_memory = suggest_max_memory()
49
  roop.globals.execution_providers = decode_execution_providers(["cpu"])
50
+ roop.globals.execution_threads = suggest_execution_threads()
51
 
52
  print(
53
  "start process",