Spaces:
Sleeping
Sleeping
Fixed confusing cpu and gpu
Browse files
app.py
CHANGED
@@ -20,6 +20,6 @@ subprocess.run(["python", "install.py", "--onnxruntime", "cuda-11.8", "--skip-co
|
|
20 |
|
21 |
# Run the ui
|
22 |
if device=="cuda":
|
23 |
-
subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)
|
24 |
else:
|
25 |
-
subprocess.run(["python", "run.py", "--execution-providers", "cpu"
|
|
|
20 |
|
21 |
# Run the ui
|
22 |
if device=="cuda":
|
23 |
+
subprocess.run(["python", "run.py", "--execution-providers", "cpu", "cuda"], check=True)
|
24 |
else:
|
25 |
+
subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)
|