Abhi2025 commited on
Commit
84ca84a
·
verified ·
1 Parent(s): 64c98e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -1,2 +1,11 @@
 
1
 
2
- git clone https://github.com/lllyasviel/Fooocus.git
 
 
 
 
 
 
 
 
 
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}")