nahidulalam commited on
Commit
57b702b
β€’
1 Parent(s): 90090f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -3
app.py CHANGED
@@ -1,6 +1,18 @@
1
  #!/usr/bin/env python3
2
 
3
- from roop import core
 
 
4
 
5
- if __name__ == '__main__':
6
- core.run()
 
 
 
 
 
 
 
 
 
 
 
1
  #!/usr/bin/env python3
2
 
3
+ import subprocess
4
+ import os
5
+ import sys
6
 
7
+
8
+
9
+ # Clone the repository
10
+ subprocess.run(["git", "clone", "https://github.com/s0md3v/roop", "--branch", "1.3.2", "--single-branch"], check=True)
11
+ # chande directory to face fusion to run ui
12
+ os.chdir("roop")
13
+
14
+ # installation
15
+ #subprocess.run(["python", "install.py", "--onnxruntime", "cuda-11.8", "--skip-conda"], check=True)
16
+
17
+
18
+ subprocess.run(["python", "run.py", "--execution-providers", "cpu"], check=True)