osmunphotography commited on
Commit
51bad0e
·
verified ·
1 Parent(s): 726e621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -8,8 +8,5 @@ iface.launch()
8
  git clone https://huggingface.co/spaces/osmunphotography/Nf
9
  import subprocess
10
 
11
- try:
12
- # Run the git clone command
13
- subprocess.run(["git", "clone", "https://huggingface.co/spaces/osmunphotography/Nf"], check=True)
14
- except subprocess.CalledProcessError as e:
15
- print(f"Error occurred: {e}")
 
8
  git clone https://huggingface.co/spaces/osmunphotography/Nf
9
  import subprocess
10
 
11
+
12
+ pip install pygit2==1.12.2%cd /content!git clone https://github.com/lllyasviel/Fooocus.git%cd /content/Fooocus!python entry_with_update.py --share