Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,12 @@ os.chdir(str(user_home))
|
|
45 |
print("cloning stable-diffusion-webui repo")
|
46 |
Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",user_home / r"stable-diffusion-webui")
|
47 |
os.chdir(str(user_home / r"stable-diffusion-webui"))
|
48 |
-
os.system("git
|
|
|
|
|
|
|
|
|
|
|
49 |
#install extensions
|
50 |
print("installing extensions")
|
51 |
Gitclone(r"https://huggingface.co/embed/negative",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")
|
|
|
45 |
print("cloning stable-diffusion-webui repo")
|
46 |
Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",user_home / r"stable-diffusion-webui")
|
47 |
os.chdir(str(user_home / r"stable-diffusion-webui"))
|
48 |
+
os.system("git remote add forge https://github.com/lllyasviel/stable-diffusion-webui-forge")
|
49 |
+
os.system("git branch lllyasviel/main")
|
50 |
+
os.system("git checkout lllyasviel/main")
|
51 |
+
os.system("git fetch forge")
|
52 |
+
os.system("git branch -u forge/main")
|
53 |
+
os.system("git pull")
|
54 |
#install extensions
|
55 |
print("installing extensions")
|
56 |
Gitclone(r"https://huggingface.co/embed/negative",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")
|