Spaces:
Runtime error
Runtime error
salomonsky
commited on
Commit
•
5d1eed5
1
Parent(s):
3417b2c
Update app.py
Browse files
app.py
CHANGED
@@ -49,14 +49,8 @@ os.system("git reset --hard 89f9faa63388756314e8a1d96cf86bf5e0663045")
|
|
49 |
print("installing extensions")
|
50 |
Gitclone(r"https://huggingface.co/embed/negative",str(user_home / r"webui" / r"stable-diffusion-webui" / r"embeddings" / r"negative"))
|
51 |
Gitclone(r"https://huggingface.co/embed/lora",str(user_home / r"webui" / r"stable-diffusion-webui" / r"models" / r"Lora" / r"positive"))
|
52 |
-
DownLoad(r"https://huggingface.co/embed/upscale/resolve/main/4x-UltraSharp.pth",str(user_home / r"webui" / r"stable-diffusion-webui" / r"models" / r"ESRGAN") ,r"4x-UltraSharp.pth")
|
53 |
-
while True:
|
54 |
-
if(subprocess.run([r"wget",r"https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py",r"-O",str(user_home / r"webui" / r"stable-diffusion-webui" / r"scripts" / r"run_n_times.py")]).returncode == 0):
|
55 |
-
break
|
56 |
Gitclone(r"https://github.com/deforum-art/deforum-for-automatic1111-webui",str(user_home / r"webui" / r"stable-diffusion-webui" / r"extensions" / r"deforum-for-automatic1111-webui" ))
|
57 |
-
Gitclone(r"https://github.com/kohya-ss/sd-webui-additional-networks",str(user_home / r"webui" / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks"))
|
58 |
Gitclone(r"https://github.com/Mikubill/sd-webui-controlnet",str(user_home / r"webui" / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-controlnet"))
|
59 |
-
Gitclone(r"https://github.com/fkunn1326/openpose-editor",str(user_home / r"webui" / r"stable-diffusion-webui" / r"extensions" / r"openpose-editor"))
|
60 |
Gitclone(r"https://github.com/camenduru/sd-webui-tunnels",str(user_home / r"webui" / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-tunnels"))
|
61 |
|
62 |
os.chdir(user_home / r"webui" / r"stable-diffusion-webui")
|
|
|
49 |
print("installing extensions")
|
50 |
Gitclone(r"https://huggingface.co/embed/negative",str(user_home / r"webui" / r"stable-diffusion-webui" / r"embeddings" / r"negative"))
|
51 |
Gitclone(r"https://huggingface.co/embed/lora",str(user_home / r"webui" / r"stable-diffusion-webui" / r"models" / r"Lora" / r"positive"))
|
|
|
|
|
|
|
|
|
52 |
Gitclone(r"https://github.com/deforum-art/deforum-for-automatic1111-webui",str(user_home / r"webui" / r"stable-diffusion-webui" / r"extensions" / r"deforum-for-automatic1111-webui" ))
|
|
|
53 |
Gitclone(r"https://github.com/Mikubill/sd-webui-controlnet",str(user_home / r"webui" / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-controlnet"))
|
|
|
54 |
Gitclone(r"https://github.com/camenduru/sd-webui-tunnels",str(user_home / r"webui" / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-tunnels"))
|
55 |
|
56 |
os.chdir(user_home / r"webui" / r"stable-diffusion-webui")
|