Spaces:
Running
Running
Commit
·
d7a8f14
1
Parent(s):
29d6fb8
repair webui
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ Stable Diffusion Webui Version 1.6
|
|
3 |
https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.6.0
|
4 |
|
5 |
"""
|
6 |
-
commit_id=r"5ef669de080814067961f28357256e8fe27544f4" #Version 1.6.0
|
7 |
import os
|
8 |
from sys import executable
|
9 |
import subprocess
|
@@ -41,7 +41,7 @@ os.chdir(str(user_home))
|
|
41 |
print("cloning stable-diffusion-webui repo")
|
42 |
Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",user_home / r"stable-diffusion-webui")
|
43 |
os.chdir(str(user_home / r"stable-diffusion-webui"))
|
44 |
-
os.system("git reset --hard "+commit_id)
|
45 |
#install extensions
|
46 |
print("installing extensions")
|
47 |
Gitclone(r"https://github.com/vorstcavry/embeddings",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")
|
@@ -110,7 +110,7 @@ del dList
|
|
110 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors",
|
111 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_lineart_fp16.safetensors",
|
112 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors",
|
113 |
-
#
|
114 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_openpose_fp16.safetensors",
|
115 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_scribble_fp16.safetensors",
|
116 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_seg_fp16.safetensors",
|
|
|
3 |
https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.6.0
|
4 |
|
5 |
"""
|
6 |
+
#commit_id=r"5ef669de080814067961f28357256e8fe27544f4" #Version 1.6.0
|
7 |
import os
|
8 |
from sys import executable
|
9 |
import subprocess
|
|
|
41 |
print("cloning stable-diffusion-webui repo")
|
42 |
Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui.git",user_home / r"stable-diffusion-webui")
|
43 |
os.chdir(str(user_home / r"stable-diffusion-webui"))
|
44 |
+
#os.system("git reset --hard "+commit_id)
|
45 |
#install extensions
|
46 |
print("installing extensions")
|
47 |
Gitclone(r"https://github.com/vorstcavry/embeddings",user_home / r"stable-diffusion-webui" / r"embeddings" / r"negative")
|
|
|
110 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors",
|
111 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_lineart_fp16.safetensors",
|
112 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors",
|
113 |
+
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors",
|
114 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_openpose_fp16.safetensors",
|
115 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_scribble_fp16.safetensors",
|
116 |
# r"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_seg_fp16.safetensors",
|