Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,16 @@
|
|
| 1 |
import os
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
# Change directory to Fooocus
|
| 4 |
-
os.chdir("
|
| 5 |
|
| 6 |
# Install dependencies
|
| 7 |
os.system("pip install pygit2==1.15.1")
|
|
|
|
| 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")
|