Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,9 +30,9 @@ elif device == "cpu":
|
|
| 30 |
|
| 31 |
# Run the ui
|
| 32 |
if device == "cuda" and git_branch == "master":
|
| 33 |
-
subprocess.run(["python", "facefusion.py", "--execution-providers", "cuda"], check=True)
|
| 34 |
elif device == "cpu" and git_branch == "master":
|
| 35 |
-
subprocess.run(["python", "facefusion.py", "--execution-providers", "cpu"], check=True)
|
| 36 |
elif device == "cuda" and git_branch == "next":
|
| 37 |
subprocess.run(["python", "facefusion.py", "run", "--execution-providers", "cuda"], check=True)
|
| 38 |
elif device == "cpu" and git_branch == "next":
|
|
|
|
| 30 |
|
| 31 |
# Run the ui
|
| 32 |
if device == "cuda" and git_branch == "master":
|
| 33 |
+
subprocess.run(["python", "facefusion.py", "run", "--execution-providers", "cuda"], check=True)
|
| 34 |
elif device == "cpu" and git_branch == "master":
|
| 35 |
+
subprocess.run(["python", "facefusion.py", "run", "--execution-providers", "cpu"], check=True)
|
| 36 |
elif device == "cuda" and git_branch == "next":
|
| 37 |
subprocess.run(["python", "facefusion.py", "run", "--execution-providers", "cuda"], check=True)
|
| 38 |
elif device == "cpu" and git_branch == "next":
|