Nick088 commited on
Commit
298cb83
β€’
1 Parent(s): 962014c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -1,5 +1,9 @@
1
  import subprocess
2
 
3
- subprocess.run("git clone https://github.com/facefusion/facefusion")
 
4
 
5
- subprocess.run("python run.py --execution-providers cpu")
 
 
 
 
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)