Nick088 commited on
Commit
d06703a
·
verified ·
1 Parent(s): d11e011

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,8 +19,8 @@ os.chdir("facefusion")
19
  subprocess.run(["python", "install.py", "--onnxruntime", "cuda-11.8", "--skip-conda"], check=True)
20
 
21
  # Run the ui
 
22
  if device=="cuda":
23
- @spaces.GPU
24
  subprocess.run(["python", "run.py", "--execution-providers", "cuda"], check=True)
25
  else:
26
  subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)
 
19
  subprocess.run(["python", "install.py", "--onnxruntime", "cuda-11.8", "--skip-conda"], check=True)
20
 
21
  # Run the ui
22
+ @spaces.GPU
23
  if device=="cuda":
 
24
  subprocess.run(["python", "run.py", "--execution-providers", "cuda"], check=True)
25
  else:
26
  subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)