Spaces:
Runtime error
Runtime error
Update app.py
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", "
|
24 |
else:
|
25 |
subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)
|
|
|
20 |
|
21 |
# Run the ui
|
22 |
if device=="cuda":
|
23 |
+
subprocess.run(["python", "run.py", "--execution-providers", "cuda"], check=True)
|
24 |
else:
|
25 |
subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)
|