Update app.py
Browse files
app.py
CHANGED
@@ -1,2 +1,11 @@
|
|
|
|
1 |
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import subprocess
|
2 |
|
3 |
+
# Define the Git command
|
4 |
+
git_command = 'git clone https://github.com/lllyasviel/Fooocus.git'
|
5 |
+
|
6 |
+
# Execute the Git command using subprocess
|
7 |
+
try:
|
8 |
+
subprocess.run(git_command, shell=True, check=True)
|
9 |
+
print("Git clone successful.")
|
10 |
+
except subprocess.CalledProcessError as e:
|
11 |
+
print(f"Error executing Git command: {e}")
|