Lev1s commited on
Commit
87d3b6f
1 Parent(s): 9f9969e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,8 +45,8 @@ def swap_face(source_file, target_file,doFaceEnhancer):
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(["cuda"])
50
  roop.globals.execution_threads = suggest_execution_threads()
51
 
52
  print(
 
45
  roop.globals.many_faces = False
46
  roop.globals.video_encoder = "libx264"
47
  roop.globals.video_quality = 18
48
+ roop.globals.max_memory = 16
49
+ roop.globals.execution_providers = decode_execution_providers()
50
  roop.globals.execution_threads = suggest_execution_threads()
51
 
52
  print(