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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,9 +1,11 @@
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)
 
1
  import subprocess
2
+ import os
3
 
4
  # Clone the repository
5
  subprocess.run(["git", "clone", "https://github.com/facefusion/facefusion"], check=True)
6
 
7
+ # chande directory to face fusion to run ui
8
+ os.chdir("facefusion")
9
 
10
  # Run the ui
11
  subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)