Nick088 commited on
Commit
d677563
β€’
1 Parent(s): 70518d9

Fixed confusing cpu and gpu

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", "cuda"], check=True)
 
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)