Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
import subprocess
|
2 |
|
3 |
-
|
|
|
4 |
|
5 |
-
subprocess.run("
|
|
|
|
|
|
|
|
1 |
import subprocess
|
2 |
|
3 |
+
# Clone the repository
|
4 |
+
subprocess.run(["git", "clone", "https://github.com/facefusion/facefusion"], check=True)
|
5 |
|
6 |
+
subprocess.run(["cd", "facefusion"], check=True)
|
7 |
+
|
8 |
+
# Run the ui
|
9 |
+
subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)
|