Update app.py
Browse files
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 |
+
|