carloscar commited on
Commit
fb91478
β€’
1 Parent(s): 5c4bb17

config changes + model change in shared ui mode

Browse files
Files changed (4) hide show
  1. header_patch.py +1 -1
  2. on_start.sh +1 -1
  3. shared-config.json +1 -1
  4. shared-ui-config.json +16 -16
header_patch.py CHANGED
@@ -2,7 +2,7 @@
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.&nbsp;&nbsp;<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>
 
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://civitai.com/models/8124/a-to-zovya-rpg-artists-tools-15-and-21" style="target=" _blank"="">AtoZovyaRPGArtistTools15_sd15V1</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.&nbsp;&nbsp;<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>
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 "DreamShaper_3.31_baked_vae-inpainting.inpainting.safetensors" "https://huggingface.co/Lykon/DreamShaper/resolve/d227e39aab5e360aec6401be916025ddfc8127bd/DreamShaper_3.31_baked_vae-inpainting.inpainting.safetensors"
45
  download-model --embedding "bad_prompt_version2.pt" "https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/72fd9d6011c2ba87b5847b7e45e6603917e3cbed/bad_prompt_version2.pt"
46
  sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /app/stable-diffusion-webui/modules/ui.py
47
  sed -i -e '/(train_interface, \"Train\", \"ti\"),/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 "AtoZovyaRPGArtistTools15_sd15V1.safetensors" "https://civitai.com/api/download/models/10185"
45
  download-model --embedding "bad_prompt_version2.pt" "https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/72fd9d6011c2ba87b5847b7e45e6603917e3cbed/bad_prompt_version2.pt"
46
  sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /app/stable-diffusion-webui/modules/ui.py
47
  sed -i -e '/(train_interface, \"Train\", \"ti\"),/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": "DreamShaper_3.31_baked_vae-inpainting.inpainting.safetensors",
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": "AtoZovyaRPGArtistTools15_sd15V1.safetensors",
60
  "sd_checkpoint_cache": 0,
61
  "sd_vae": "auto",
62
  "sd_vae_as_default": false,
shared-ui-config.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "txt2img/Prompt/visible": true,
3
  "txt2img/Prompt/value": "the most beautiful artwork in the world, (masterpiece:1.5), (hd), (8k), ultra detailed, best quality, film grain, (cinematic lighting), dramatic, dramatic (complimentary colors), artstation, (award winning), (HDR)",
4
- "txt2img/Negative prompt/visible": false,
5
- "txt2img/Negative prompt/value": "(nsfw:1.7), (porn:1.6), (naked:1.6), (nude:1.6), (worst quality:1.4), (low quality:1.4), (monochrome:1.1), (bad_prompt_version2:0.8), (undersaturated:1.3), bad art, text, jpeg, watermark, artist sign, blurry, out of frame, nsfw",
6
  "txt2img/Style 1/value": "None",
7
  "txt2img/Style 1/visible": true,
8
  "txt2img/Style 2/value": "None",
@@ -17,12 +17,12 @@
17
  "txt2img/Width/visible": true,
18
  "txt2img/Width/value": 512,
19
  "txt2img/Width/minimum": 64,
20
- "txt2img/Width/maximum": 512,
21
  "txt2img/Width/step": 64,
22
  "txt2img/Height/visible": true,
23
  "txt2img/Height/value": 512,
24
  "txt2img/Height/minimum": 64,
25
- "txt2img/Height/maximum": 512,
26
  "txt2img/Height/step": 64,
27
  "txt2img/Restore faces/visible": true,
28
  "txt2img/Restore faces/value": false,
@@ -33,12 +33,12 @@
33
  "txt2img/Firstpass width/visible": true,
34
  "txt2img/Firstpass width/value": 0,
35
  "txt2img/Firstpass width/minimum": 0,
36
- "txt2img/Firstpass width/maximum": 512,
37
  "txt2img/Firstpass width/step": 64,
38
  "txt2img/Firstpass height/visible": true,
39
  "txt2img/Firstpass height/value": 0,
40
  "txt2img/Firstpass height/minimum": 0,
41
- "txt2img/Firstpass height/maximum": 512,
42
  "txt2img/Firstpass height/step": 64,
43
  "txt2img/Denoising strength/visible": true,
44
  "txt2img/Denoising strength/value": 0.7,
@@ -74,12 +74,12 @@
74
  "txt2img/Resize seed from width/visible": true,
75
  "txt2img/Resize seed from width/value": 0,
76
  "txt2img/Resize seed from width/minimum": 0,
77
- "txt2img/Resize seed from width/maximum": 512,
78
  "txt2img/Resize seed from width/step": 64,
79
  "txt2img/Resize seed from height/visible": true,
80
  "txt2img/Resize seed from height/value": 0,
81
  "txt2img/Resize seed from height/minimum": 0,
82
- "txt2img/Resize seed from height/maximum": 512,
83
  "txt2img/Resize seed from height/step": 64,
84
  "txt2img/Script/value": "None",
85
  "txt2img/Script/visible": true,
@@ -105,8 +105,8 @@
105
  "txt2img/Make Zip when Save?/value": false,
106
  "img2img/Prompt/visible": true,
107
  "img2img/Prompt/value": "the most beautiful artwork in the world, (masterpiece:1.5), (hd), (8k), ultra detailed, best quality, film grain, (cinematic lighting), dramatic, dramatic (complimentary colors), artstation, (award winning), (HDR)",
108
- "img2img/Negative prompt/visible": false,
109
- "img2img/Negative prompt/value": "(nsfw:1.7), (porn:1.6), (naked:1.6), (nude:1.6), (worst quality:1.4), (low quality:1.4), (monochrome:1.1), (bad_prompt_version2:0.8), (undersaturated:1.3), bad art, text, jpeg, watermark, artist sign, blurry, out of frame, nsfw",
110
  "img2img/Style 1/value": "None",
111
  "img2img/Style 1/visible": true,
112
  "img2img/Style 2/value": "None",
@@ -149,12 +149,12 @@
149
  "img2img/Width/visible": true,
150
  "img2img/Width/value": 512,
151
  "img2img/Width/minimum": 64,
152
- "img2img/Width/maximum": 512,
153
  "img2img/Width/step": 64,
154
  "img2img/Height/visible": true,
155
  "img2img/Height/value": 512,
156
  "img2img/Height/minimum": 64,
157
- "img2img/Height/maximum": 512,
158
  "img2img/Height/step": 64,
159
  "img2img/Restore faces/visible": true,
160
  "img2img/Restore faces/value": false,
@@ -194,12 +194,12 @@
194
  "img2img/Resize seed from width/visible": true,
195
  "img2img/Resize seed from width/value": 0,
196
  "img2img/Resize seed from width/minimum": 0,
197
- "img2img/Resize seed from width/maximum": 512,
198
  "img2img/Resize seed from width/step": 64,
199
  "img2img/Resize seed from height/visible": true,
200
  "img2img/Resize seed from height/value": 0,
201
  "img2img/Resize seed from height/minimum": 0,
202
- "img2img/Resize seed from height/maximum": 512,
203
  "img2img/Resize seed from height/step": 64,
204
  "img2img/Script/value": "None",
205
  "img2img/Script/visible": true,
@@ -313,9 +313,9 @@
313
  "extras/Resize/maximum": 4.0,
314
  "extras/Resize/step": 0.05,
315
  "extras/Width/visible": true,
316
- "extras/Width/value": 512,
317
  "extras/Height/visible": true,
318
- "extras/Height/value": 512,
319
  "extras/Crop to fit/visible": true,
320
  "extras/Crop to fit/value": true,
321
  "extras/Upscaler 1/visible": true,
 
1
  {
2
  "txt2img/Prompt/visible": true,
3
  "txt2img/Prompt/value": "the most beautiful artwork in the world, (masterpiece:1.5), (hd), (8k), ultra detailed, best quality, film grain, (cinematic lighting), dramatic, dramatic (complimentary colors), artstation, (award winning), (HDR)",
4
+ "txt2img/Negative prompt/visible": true,
5
+ "txt2img/Negative prompt/value": "(worst quality:1.4), (low quality:1.4), (monochrome:1.1), (bad_prompt_version2:0.8), (undersaturated:1.3), bad art, text, jpeg, (nsfw:1.4), (porn:1.4), (naked:1.4), (nude:1.4), watermark, artist sign, blurry, out of frame, nsfw, ((disfigured)), deformations, extra limb, missing limbs, floating limbs, poorly drawn face, poorly drawn hands, missing fingers, split screen, bad hands, missing fingers, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutation, mutated hands, (fused fingers), (too many fingers), (((long neck))), roothand, crabhand, vinehand, pincers, normal quality, cross eyed, bad anatomy, deformed, surreal, cloned face, squinting",
6
  "txt2img/Style 1/value": "None",
7
  "txt2img/Style 1/visible": true,
8
  "txt2img/Style 2/value": "None",
 
17
  "txt2img/Width/visible": true,
18
  "txt2img/Width/value": 512,
19
  "txt2img/Width/minimum": 64,
20
+ "txt2img/Width/maximum": 768,
21
  "txt2img/Width/step": 64,
22
  "txt2img/Height/visible": true,
23
  "txt2img/Height/value": 512,
24
  "txt2img/Height/minimum": 64,
25
+ "txt2img/Height/maximum": 768,
26
  "txt2img/Height/step": 64,
27
  "txt2img/Restore faces/visible": true,
28
  "txt2img/Restore faces/value": false,
 
33
  "txt2img/Firstpass width/visible": true,
34
  "txt2img/Firstpass width/value": 0,
35
  "txt2img/Firstpass width/minimum": 0,
36
+ "txt2img/Firstpass width/maximum": 768,
37
  "txt2img/Firstpass width/step": 64,
38
  "txt2img/Firstpass height/visible": true,
39
  "txt2img/Firstpass height/value": 0,
40
  "txt2img/Firstpass height/minimum": 0,
41
+ "txt2img/Firstpass height/maximum": 768,
42
  "txt2img/Firstpass height/step": 64,
43
  "txt2img/Denoising strength/visible": true,
44
  "txt2img/Denoising strength/value": 0.7,
 
74
  "txt2img/Resize seed from width/visible": true,
75
  "txt2img/Resize seed from width/value": 0,
76
  "txt2img/Resize seed from width/minimum": 0,
77
+ "txt2img/Resize seed from width/maximum": 768,
78
  "txt2img/Resize seed from width/step": 64,
79
  "txt2img/Resize seed from height/visible": true,
80
  "txt2img/Resize seed from height/value": 0,
81
  "txt2img/Resize seed from height/minimum": 0,
82
+ "txt2img/Resize seed from height/maximum": 768,
83
  "txt2img/Resize seed from height/step": 64,
84
  "txt2img/Script/value": "None",
85
  "txt2img/Script/visible": true,
 
105
  "txt2img/Make Zip when Save?/value": false,
106
  "img2img/Prompt/visible": true,
107
  "img2img/Prompt/value": "the most beautiful artwork in the world, (masterpiece:1.5), (hd), (8k), ultra detailed, best quality, film grain, (cinematic lighting), dramatic, dramatic (complimentary colors), artstation, (award winning), (HDR)",
108
+ "img2img/Negative prompt/visible": true,
109
+ "img2img/Negative prompt/value": "(worst quality:1.4), (low quality:1.4), (monochrome:1.1), (bad_prompt_version2:0.8), (undersaturated:1.3), bad art, text, jpeg, (nsfw:1.4), (porn:1.4), (naked:1.4), (nude:1.4), watermark, artist sign, blurry, out of frame, nsfw, ((disfigured)), deformations, extra limb, missing limbs, floating limbs, poorly drawn face, poorly drawn hands, missing fingers, split screen, bad hands, missing fingers, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutation, mutated hands, (fused fingers), (too many fingers), (((long neck))), roothand, crabhand, vinehand, pincers, normal quality, cross eyed, bad anatomy, deformed, surreal, cloned face, squinting",
110
  "img2img/Style 1/value": "None",
111
  "img2img/Style 1/visible": true,
112
  "img2img/Style 2/value": "None",
 
149
  "img2img/Width/visible": true,
150
  "img2img/Width/value": 512,
151
  "img2img/Width/minimum": 64,
152
+ "img2img/Width/maximum": 768,
153
  "img2img/Width/step": 64,
154
  "img2img/Height/visible": true,
155
  "img2img/Height/value": 512,
156
  "img2img/Height/minimum": 64,
157
+ "img2img/Height/maximum": 768,
158
  "img2img/Height/step": 64,
159
  "img2img/Restore faces/visible": true,
160
  "img2img/Restore faces/value": false,
 
194
  "img2img/Resize seed from width/visible": true,
195
  "img2img/Resize seed from width/value": 0,
196
  "img2img/Resize seed from width/minimum": 0,
197
+ "img2img/Resize seed from width/maximum": 768,
198
  "img2img/Resize seed from width/step": 64,
199
  "img2img/Resize seed from height/visible": true,
200
  "img2img/Resize seed from height/value": 0,
201
  "img2img/Resize seed from height/minimum": 0,
202
+ "img2img/Resize seed from height/maximum": 768,
203
  "img2img/Resize seed from height/step": 64,
204
  "img2img/Script/value": "None",
205
  "img2img/Script/visible": true,
 
313
  "extras/Resize/maximum": 4.0,
314
  "extras/Resize/step": 0.05,
315
  "extras/Width/visible": true,
316
+ "extras/Width/value": 768,
317
  "extras/Height/visible": true,
318
+ "extras/Height/value": 768,
319
  "extras/Crop to fit/visible": true,
320
  "extras/Crop to fit/value": true,
321
  "extras/Upscaler 1/visible": true,