Lev1s commited on
Commit
1460c73
1 Parent(s): 2ece841

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def swap_face(source_file, target_file,doFaceEnhancer):
45
  roop.globals.video_encoder = "libx264"
46
  roop.globals.video_quality = 18
47
  roop.globals.max_memory = 16
48
- roop.globals.execution_providers = decode_execution_providers()
49
  roop.globals.execution_threads = suggest_execution_threads()
50
 
51
  print(
 
45
  roop.globals.video_encoder = "libx264"
46
  roop.globals.video_quality = 18
47
  roop.globals.max_memory = 16
48
+ roop.globals.execution_providers = decode_execution_providers(['cpu'])
49
  roop.globals.execution_threads = suggest_execution_threads()
50
 
51
  print(