pakdeveloper commited on
Commit
ed8b1ec
·
verified ·
1 Parent(s): c5b2580

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -0
app.py CHANGED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ # Print the current working directory
4
+ print("Current working directory:", os.getcwd())
5
+
6
+ # Clone the Fooocus repository
7
+ os.system("git clone https://github.com/lllyasviel/Fooocus.git")
8
+
9
+ # List files in the current directory
10
+ os.system("ls")
11
+
12
+ # Change directory to Fooocus
13
+ os.chdir("Fooocus")
14
+
15
+ # Install dependencies
16
+ os.system("pip install pygit2==1.15.1")
17
+
18
+ # Run Fooocus
19
+ os.system("python entry_with_update.py --always-cpu")