pakdeveloper commited on
Commit
4b00f6a
·
verified ·
1 Parent(s): 7911055

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ # Clone the Fooocus repository
4
+ os.system("git clone https://github.com/lllyasviel/Fooocus.git")
5
+
6
+ # Change directory to Fooocus
7
+ os.chdir("/Fooocus")
8
+
9
+ # Install dependencies
10
+ os.system("pip install pygit2==1.15.1")
11
+
12
+ # Run Fooocus
13
+ os.system("python entry_with_update.py --share --always-cpu")