Spaces:
ALSv
/
Runtime error

ALSv commited on
Commit
0b82811
·
verified ·
1 Parent(s): 6f3d3bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def swap_face(source_file, target_file, doFaceEnhancer):
49
  roop.globals.video_quality = 18
50
  roop.globals.max_memory = suggest_max_memory()
51
 
52
- # FORZA CPU
53
  roop.globals.execution_providers = decode_execution_providers(["cpu"])
54
  roop.globals.execution_threads = suggest_execution_threads()
55
 
@@ -82,3 +82,4 @@ app = gr.Interface(
82
  )
83
 
84
  app.launch()
 
 
49
  roop.globals.video_quality = 18
50
  roop.globals.max_memory = suggest_max_memory()
51
 
52
+ # FORZA CPU per evitare problemi con onnxruntime-gpu
53
  roop.globals.execution_providers = decode_execution_providers(["cpu"])
54
  roop.globals.execution_threads = suggest_execution_threads()
55
 
 
82
  )
83
 
84
  app.launch()
85
+