Changed model to DreamShaper in shared ui
Browse files- header_patch.py +2 -2
- on_start.sh +1 -1
- shared-config.json +1 -1
header_patch.py
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
if os.environ.get("SPACE_ID") and str(os.environ.get("IS_SHARED_UI", "") or "") not in ("", "0"):
|
3 |
gr.HTML(f"""
|
4 |
<div class="gr-prose" style="max-width: 80%; font-size: 12px; line-height: 20px; font-family: monospace;">
|
5 |
-
<p>β² Automatic1111's Stable Diffusion WebUI + Mikubill's ControlNet WebUI extension | Running on Hugging Face | Loaded checkpoint: <a href="https://
|
6 |
<p>β² Docker build from <a href="https://github.com/kalaspuff/stable-diffusion-webui-docker" style="target=" _blank"="">π GitHub β kalaspuff/stable-diffusion-webui-docker</a> / <a href="https://huggingface.co/spaces/carloscar/stable-diffusion-webui-docker" style="target=" _blank"="">π€ Hugging Face β carloscar/stable-diffusion-webui-docker</a></p>
|
7 |
-
<p>β² Duplicate this Space to run it privately without a queue + load
|
8 |
</div>
|
9 |
""")
|
10 |
elif os.environ.get("SPACE_ID"):
|
|
|
2 |
if os.environ.get("SPACE_ID") and str(os.environ.get("IS_SHARED_UI", "") or "") not in ("", "0"):
|
3 |
gr.HTML(f"""
|
4 |
<div class="gr-prose" style="max-width: 80%; font-size: 12px; line-height: 20px; font-family: monospace;">
|
5 |
+
<p>β² Automatic1111's Stable Diffusion WebUI + Mikubill's ControlNet WebUI extension | Running on Hugging Face | Loaded checkpoint: <a href="https://huggingface.co/Lykon/DreamShaper" style="target=" _blank"="">Lykon/DreamShaper</a></p>
|
6 |
<p>β² Docker build from <a href="https://github.com/kalaspuff/stable-diffusion-webui-docker" style="target=" _blank"="">π GitHub β kalaspuff/stable-diffusion-webui-docker</a> / <a href="https://huggingface.co/spaces/carloscar/stable-diffusion-webui-docker" style="target=" _blank"="">π€ Hugging Face β carloscar/stable-diffusion-webui-docker</a></p>
|
7 |
+
<p>β² Duplicate this Space to run it privately without a queue, use negative prompts + load checkpoints, etc. <a style="display:inline-block; position: absolute;" target="_blank" href="https://huggingface.co/spaces/{os.environ["SPACE_ID"]}?duplicate=true"><img style="margin: 0; height: 16px; position: relative; top: 2px;" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Duplicate%20Space-blue" alt="Duplicate Space"></a></p>
|
8 |
</div>
|
9 |
""")
|
10 |
elif os.environ.get("SPACE_ID"):
|
on_start.sh
CHANGED
@@ -41,7 +41,7 @@ if [ ${IS_SHARED_UI:-0} != 0 ]; then
|
|
41 |
download-model --control-net "control_normal-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_normal-fp16.safetensors"
|
42 |
download-model --control-net "control_openpose-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_openpose-fp16.safetensors"
|
43 |
download-model --control-net "control_scribble-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_scribble-fp16.safetensors"
|
44 |
-
download-model --checkpoint "
|
45 |
sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /app/stable-diffusion-webui/modules/ui.py
|
46 |
sed -i -e '/(train_interface, \"Train\", \"ti\"),/d' /app/stable-diffusion-webui/modules/ui.py
|
47 |
sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /app/stable-diffusion-webui/modules/ui.py
|
|
|
41 |
download-model --control-net "control_normal-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_normal-fp16.safetensors"
|
42 |
download-model --control-net "control_openpose-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_openpose-fp16.safetensors"
|
43 |
download-model --control-net "control_scribble-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_scribble-fp16.safetensors"
|
44 |
+
download-model --checkpoint "DreamShaper_3.31_baked_vae-inpainting.inpainting.safetensors" "https://huggingface.co/Lykon/DreamShaper/resolve/d227e39aab5e360aec6401be916025ddfc8127bd/DreamShaper_3.31_baked_vae-inpainting.inpainting.safetensors"
|
45 |
sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /app/stable-diffusion-webui/modules/ui.py
|
46 |
sed -i -e '/(train_interface, \"Train\", \"ti\"),/d' /app/stable-diffusion-webui/modules/ui.py
|
47 |
sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /app/stable-diffusion-webui/modules/ui.py
|
shared-config.json
CHANGED
@@ -56,7 +56,7 @@
|
|
56 |
"training_image_repeats_per_epoch": 1,
|
57 |
"training_write_csv_every": 500,
|
58 |
"training_xattention_optimizations": false,
|
59 |
-
"sd_model_checkpoint": "
|
60 |
"sd_checkpoint_cache": 0,
|
61 |
"sd_vae": "auto",
|
62 |
"sd_vae_as_default": false,
|
|
|
56 |
"training_image_repeats_per_epoch": 1,
|
57 |
"training_write_csv_every": 500,
|
58 |
"training_xattention_optimizations": false,
|
59 |
+
"sd_model_checkpoint": "DreamShaper_3.31_baked_vae-inpainting.inpainting.safetensors",
|
60 |
"sd_checkpoint_cache": 0,
|
61 |
"sd_vae": "auto",
|
62 |
"sd_vae_as_default": false,
|