Spaces:
Sleeping
Sleeping
dasghost65536
commited on
Commit
•
99640b8
1
Parent(s):
e0593bf
lots of changes here and there...
Browse files
app.py
CHANGED
@@ -62,10 +62,11 @@ Gitclone(r"https://github.com/AlUlkesh/stable-diffusion-webui-images-browser",us
|
|
62 |
Gitclone(r"https://github.com/camenduru/stable-diffusion-webui-huggingface",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-huggingface")
|
63 |
# keeping this in case if someone wants to revert to this extension, I guess?
|
64 |
#Gitclone(r"https://github.com/camenduru/sd-civitai-browser",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-civitai-browser")
|
65 |
-
|
66 |
# keeping this in case if someone wants to actually use this extension, I guess?
|
67 |
#Gitclone(r"https://github.com/kohya-ss/sd-webui-additional-networks",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks")
|
68 |
Gitclone(r"https://github.com/Mikubill/sd-webui-controlnet",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-controlnet")
|
|
|
69 |
# the following four are disabled because of issues breaking the whole thing, and since
|
70 |
# these extensions are beyond my control anyway, these will be all disabled for the time being
|
71 |
# until their respective authors fixes these issues. deal with it, folks.
|
@@ -78,11 +79,24 @@ Gitclone(r"https://github.com/Mikubill/sd-webui-controlnet",user_home / r"stable
|
|
78 |
Gitclone(r"https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git" , user_home / r"stable-diffusion-webui" / r"extensions" / r"a1111-sd-webui-tagcomplete")
|
79 |
#Gitclone(r"https://github.com/camenduru/sd-webui-tunnels",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-tunnels")
|
80 |
Gitclone(r"https://github.com/etherealxx/batchlinks-webui",user_home / r"stable-diffusion-webui" / r"extensions" / r"batchlinks-webui")
|
|
|
81 |
#Gitclone(r"https://github.com/catppuccin/stable-diffusion-webui",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-catppuccin")
|
82 |
#Gitclone(r"https://github.com/Bing-su/adetailer",user_home / r"stable-diffusion-webui" / r"extensions" / r"adetailer")
|
83 |
#Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-rembg")
|
84 |
#Gitclone(r"https://github.com/ashen-sensored/stable-diffusion-webui-two-shot",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-two-shot")
|
85 |
#Gitclone(r"https://github.com/camenduru/sd_webui_stealth_pnginfo",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd_webui_stealth_pnginfo")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
os.chdir(user_home / r"stable-diffusion-webui")
|
87 |
#download ControlNet models
|
88 |
print("extensions dolwnload done .\ndownloading ControlNet models")
|
@@ -135,9 +149,9 @@ print("ControlNet models download done.\ndownloading model")
|
|
135 |
DownLoad(r"https://huggingface.co/ckpt/anything-v4.0/resolve/main/anything-v4.5-pruned.ckpt",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"anything-v4.5-pruned.ckpt")
|
136 |
DownLoad(r"https://huggingface.co/ckpt/anything-v4.0/resolve/main/anything-v4.0.vae.pt",user_home / r"stable-diffusion-webui" / r"models" / r"VAE",r"anything-v4.0.vae.pt")
|
137 |
#anythingV5-Ink
|
138 |
-
DownLoad(r"https://civitai.com/api/download/models/90854",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"AnythingV5Ink_ink.safetensors")
|
139 |
#MeinaMixV11
|
140 |
-
DownLoad(r"https://civitai.com/api/download/models/119057",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"meinamix_meinaV11.safetensors")
|
141 |
|
142 |
# ==optional checkpoint models (and misc stuff)==
|
143 |
# by default, none of them are installed (mainly because of storage space reasons),
|
@@ -146,7 +160,7 @@ DownLoad(r"https://civitai.com/api/download/models/119057",user_home / r"stable-
|
|
146 |
# 2d images than the least you'd most expect.
|
147 |
|
148 |
#CounterfeitV3
|
149 |
-
|
150 |
#AbyssOrangeMix2 sfw
|
151 |
#DownLoad(r"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_sfw.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"AbyssOrangeMix2_sfw.safetensors")
|
152 |
#DownLoad(r"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt",user_home / r"stable-diffusion-webui" / r"models" / r"VAE",r"orangemix.vae.pt")
|
@@ -157,7 +171,7 @@ DownLoad(r"https://civitai.com/api/download/models/128713",user_home / r"stable-
|
|
157 |
#MeinaPastel versions 5 and 6
|
158 |
#DownLoad(r"https://civitai.com/api/download/models/108289",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"meinapastel_v6Pastel.safetensors")
|
159 |
#DownLoad(r"https://huggingface.co/Meina/MeinaPastel/resolve/main/MeinaPastelV5%20-%20Baked%20VAE.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"MeinaPastelV5_BakedVAE.safetensors")
|
160 |
-
|
161 |
#tb_zANIME+mix
|
162 |
#DownLoad(r"https://civitai.com/api/download/models/197115",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"tbZanimeMix_v10.safetensors")
|
163 |
#MMT5
|
@@ -168,9 +182,9 @@ DownLoad(r"https://civitai.com/api/download/models/128713",user_home / r"stable-
|
|
168 |
#DownLoad(r"https://civitai.com/api/download/models/158294",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"sweetMix_v22Flat.safetensors")
|
169 |
#DownLoad(r"https://civitai.com/api/download/models/121302",user_home / r"stable-diffusion-webui" / r"models" / r"VAE",r"blessed2_v1.pt")
|
170 |
#AnyLoRA
|
171 |
-
DownLoad(r"https://civitai.com/api/download/models/95489",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"anyloraCheckpoint_bakedvaeBlessedFp16.safetensors")
|
172 |
#Anime Dreamer Mixed
|
173 |
-
DownLoad(r"https://civitai.com/api/download/models/221305",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"animeDreamerMixed_v10.safetensors")
|
174 |
#Sevan Mix
|
175 |
#DownLoad(r"https://civitai.com/api/download/models/226816",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"sevanMix_v10.safetensors")
|
176 |
#Yntec's checkpoint models that has the word dream on it (yeah, not a good title for this, but whatever)
|
@@ -198,16 +212,16 @@ DownLoad(r"https://civitai.com/api/download/models/221305",user_home / r"stable-
|
|
198 |
#Lora Model
|
199 |
#Better Light
|
200 |
#DownLoad(r"https://civitai.com/api/download/models/39885",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks" / r"models"/ r"lora",r"Better_light.safetensors")
|
201 |
-
DownLoad(r"https://civitai.com/api/download/models/39885",user_home / r"stable-diffusion-webui" / r"models" / r"Lora",r"Better_light.safetensors")
|
202 |
#Detail Tweaker LoRA
|
203 |
#DownLoad(r"https://civitai.com/api/download/models/62833",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks" / r"models"/ r"lora",r"add_detail.safetensors")
|
204 |
-
DownLoad(r"https://civitai.com/api/download/models/62833",user_home / r"stable-diffusion-webui" / r"models" / r"Lora",r"add_detail.safetensors")
|
205 |
#Add More Details - Detail Enhancer / Tweaker
|
206 |
#DownLoad(r"https://civitai.com/api/download/models/87153",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks" / r"models"/ r"lora",r"more_details.safetensors")
|
207 |
-
DownLoad(r"https://civitai.com/api/download/models/87153",user_home / r"stable-diffusion-webui" / r"models" / r"Lora",r"more_details.safetensors")
|
208 |
#Backlighting
|
209 |
#DownLoad(r"https://civitai.com/api/download/models/39164",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks" / r"models"/ r"lora",r"backlighting.safetensors")
|
210 |
-
DownLoad(r"https://civitai.com/api/download/models/39164",user_home / r"stable-diffusion-webui" / r"models" / r"Lora",r"backlighting.safetensors")
|
211 |
|
212 |
# ==optional lora models (and misc stuff)==
|
213 |
# by default, none of them are installed (mainly because of storage space reasons),
|
|
|
62 |
Gitclone(r"https://github.com/camenduru/stable-diffusion-webui-huggingface",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-huggingface")
|
63 |
# keeping this in case if someone wants to revert to this extension, I guess?
|
64 |
#Gitclone(r"https://github.com/camenduru/sd-civitai-browser",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-civitai-browser")
|
65 |
+
Gitclone(r"https://github.com/SignalFlagZ/sd-webui-civbrowser",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-civbrowser")
|
66 |
# keeping this in case if someone wants to actually use this extension, I guess?
|
67 |
#Gitclone(r"https://github.com/kohya-ss/sd-webui-additional-networks",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks")
|
68 |
Gitclone(r"https://github.com/Mikubill/sd-webui-controlnet",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-controlnet")
|
69 |
+
Gitclone(r"https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-dynamic-thresholding")
|
70 |
# the following four are disabled because of issues breaking the whole thing, and since
|
71 |
# these extensions are beyond my control anyway, these will be all disabled for the time being
|
72 |
# until their respective authors fixes these issues. deal with it, folks.
|
|
|
79 |
Gitclone(r"https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git" , user_home / r"stable-diffusion-webui" / r"extensions" / r"a1111-sd-webui-tagcomplete")
|
80 |
#Gitclone(r"https://github.com/camenduru/sd-webui-tunnels",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-tunnels")
|
81 |
Gitclone(r"https://github.com/etherealxx/batchlinks-webui",user_home / r"stable-diffusion-webui" / r"extensions" / r"batchlinks-webui")
|
82 |
+
Gitclone(r"https://github.com/Iyashinouta/sd-model-downloader",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-model-downloader")
|
83 |
#Gitclone(r"https://github.com/catppuccin/stable-diffusion-webui",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-catppuccin")
|
84 |
#Gitclone(r"https://github.com/Bing-su/adetailer",user_home / r"stable-diffusion-webui" / r"extensions" / r"adetailer")
|
85 |
#Gitclone(r"https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-rembg")
|
86 |
#Gitclone(r"https://github.com/ashen-sensored/stable-diffusion-webui-two-shot",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-two-shot")
|
87 |
#Gitclone(r"https://github.com/camenduru/sd_webui_stealth_pnginfo",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd_webui_stealth_pnginfo")
|
88 |
+
|
89 |
+
# ==cursed extensions one should not install at all==
|
90 |
+
# this list is here just so anybody who's messing around with
|
91 |
+
# the code should not install one of the following, because it
|
92 |
+
# might cause issues on a space that'll be impossible to recover
|
93 |
+
# without reduplicating the space to comment out a problematic
|
94 |
+
# extension in question.
|
95 |
+
# failure to read the following above would be quite devastated
|
96 |
+
# to someone who has no idea what is even causing issues at all.
|
97 |
+
|
98 |
+
#Gitclone(r"https://github.com/BlafKing/sd-civitai-browser-plus",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-civitai-browser-plus")
|
99 |
+
|
100 |
os.chdir(user_home / r"stable-diffusion-webui")
|
101 |
#download ControlNet models
|
102 |
print("extensions dolwnload done .\ndownloading ControlNet models")
|
|
|
149 |
DownLoad(r"https://huggingface.co/ckpt/anything-v4.0/resolve/main/anything-v4.5-pruned.ckpt",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"anything-v4.5-pruned.ckpt")
|
150 |
DownLoad(r"https://huggingface.co/ckpt/anything-v4.0/resolve/main/anything-v4.0.vae.pt",user_home / r"stable-diffusion-webui" / r"models" / r"VAE",r"anything-v4.0.vae.pt")
|
151 |
#anythingV5-Ink
|
152 |
+
#DownLoad(r"https://civitai.com/api/download/models/90854",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"AnythingV5Ink_ink.safetensors")
|
153 |
#MeinaMixV11
|
154 |
+
#DownLoad(r"https://civitai.com/api/download/models/119057",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"meinamix_meinaV11.safetensors")
|
155 |
|
156 |
# ==optional checkpoint models (and misc stuff)==
|
157 |
# by default, none of them are installed (mainly because of storage space reasons),
|
|
|
160 |
# 2d images than the least you'd most expect.
|
161 |
|
162 |
#CounterfeitV3
|
163 |
+
DownLoad(r"https://huggingface.co/gsdf/Counterfeit-V3.0/resolve/main/Counterfeit-V3.0_fp16.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"Counterfeit-V3.0_fp16.safetensors")
|
164 |
#AbyssOrangeMix2 sfw
|
165 |
#DownLoad(r"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_sfw.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"AbyssOrangeMix2_sfw.safetensors")
|
166 |
#DownLoad(r"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt",user_home / r"stable-diffusion-webui" / r"models" / r"VAE",r"orangemix.vae.pt")
|
|
|
171 |
#MeinaPastel versions 5 and 6
|
172 |
#DownLoad(r"https://civitai.com/api/download/models/108289",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"meinapastel_v6Pastel.safetensors")
|
173 |
#DownLoad(r"https://huggingface.co/Meina/MeinaPastel/resolve/main/MeinaPastelV5%20-%20Baked%20VAE.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"MeinaPastelV5_BakedVAE.safetensors")
|
174 |
+
DownLoad(r"https://huggingface.co/Meina/MeinaPastel/resolve/main/MeinaPastelV5%20-%20Without%20VAE.safetensors",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"MeinaPastelV5_WithoutVAE.safetensors")
|
175 |
#tb_zANIME+mix
|
176 |
#DownLoad(r"https://civitai.com/api/download/models/197115",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"tbZanimeMix_v10.safetensors")
|
177 |
#MMT5
|
|
|
182 |
#DownLoad(r"https://civitai.com/api/download/models/158294",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"sweetMix_v22Flat.safetensors")
|
183 |
#DownLoad(r"https://civitai.com/api/download/models/121302",user_home / r"stable-diffusion-webui" / r"models" / r"VAE",r"blessed2_v1.pt")
|
184 |
#AnyLoRA
|
185 |
+
#DownLoad(r"https://civitai.com/api/download/models/95489",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"anyloraCheckpoint_bakedvaeBlessedFp16.safetensors")
|
186 |
#Anime Dreamer Mixed
|
187 |
+
#DownLoad(r"https://civitai.com/api/download/models/221305",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"animeDreamerMixed_v10.safetensors")
|
188 |
#Sevan Mix
|
189 |
#DownLoad(r"https://civitai.com/api/download/models/226816",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion",r"sevanMix_v10.safetensors")
|
190 |
#Yntec's checkpoint models that has the word dream on it (yeah, not a good title for this, but whatever)
|
|
|
212 |
#Lora Model
|
213 |
#Better Light
|
214 |
#DownLoad(r"https://civitai.com/api/download/models/39885",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks" / r"models"/ r"lora",r"Better_light.safetensors")
|
215 |
+
#DownLoad(r"https://civitai.com/api/download/models/39885",user_home / r"stable-diffusion-webui" / r"models" / r"Lora",r"Better_light.safetensors")
|
216 |
#Detail Tweaker LoRA
|
217 |
#DownLoad(r"https://civitai.com/api/download/models/62833",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks" / r"models"/ r"lora",r"add_detail.safetensors")
|
218 |
+
#DownLoad(r"https://civitai.com/api/download/models/62833",user_home / r"stable-diffusion-webui" / r"models" / r"Lora",r"add_detail.safetensors")
|
219 |
#Add More Details - Detail Enhancer / Tweaker
|
220 |
#DownLoad(r"https://civitai.com/api/download/models/87153",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks" / r"models"/ r"lora",r"more_details.safetensors")
|
221 |
+
#DownLoad(r"https://civitai.com/api/download/models/87153",user_home / r"stable-diffusion-webui" / r"models" / r"Lora",r"more_details.safetensors")
|
222 |
#Backlighting
|
223 |
#DownLoad(r"https://civitai.com/api/download/models/39164",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-additional-networks" / r"models"/ r"lora",r"backlighting.safetensors")
|
224 |
+
#DownLoad(r"https://civitai.com/api/download/models/39164",user_home / r"stable-diffusion-webui" / r"models" / r"Lora",r"backlighting.safetensors")
|
225 |
|
226 |
# ==optional lora models (and misc stuff)==
|
227 |
# by default, none of them are installed (mainly because of storage space reasons),
|