carloscar commited on
Commit
6316350
1 Parent(s): 5cdd354

Installation fixes and updates to run as shared UI

Browse files
Files changed (6) hide show
  1. Dockerfile +6 -6
  2. README.md +5 -3
  3. on_start.sh +28 -0
  4. shared-config.json +114 -0
  5. shared-ui-config.json +360 -0
  6. ui-config.json +1 -1
Dockerfile CHANGED
@@ -80,23 +80,23 @@ COPY --chown=user:user pyproject.toml poetry.lock /app/
80
  RUN poetry install
81
 
82
  # AUTOMATIC1111' WebUI
83
- RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui /app/stable-diffusion-webui \
84
  && (cd /app/stable-diffusion-webui && git checkout 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8)
85
 
86
  # Deforum extension
87
- RUN git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui \
88
  && (cd /app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui && git checkout b60d999202f0fd2b386150d0938c43e639db8643)
89
 
90
  # Images Browser WebUI extension
91
- RUN git clone -b v2.0 https://github.com/yfszzx/stable-diffusion-webui-images-browser /app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser \
92
  && (cd /app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser && git checkout a42c7a30181636a05815e62426d5eff4d3340529)
93
 
94
  # CiviTAI Browser WebUI extension
95
- RUN git clone -b v2.0 https://github.com/Vetchems/sd-civitai-browser /app/stable-diffusion-webui/extensions/sd-civitai-browser \
96
  && (cd /app/stable-diffusion-webui/extensions/sd-civitai-browser && git checkout b25a5daf7df3f6340d3e243d533228d8ade5288d)
97
 
98
  # Additional Networks WebUI extension
99
- RUN git clone -b v1.6 https://github.com/kohya-ss/sd-webui-additional-networks /app/stable-diffusion-webui/extensions/sd-webui-additional-networks \
100
  && (cd /app/stable-diffusion-webui/extensions/sd-webui-additional-networks && git checkout 822f2136fa6d63b85663597b03ef3edafab01187) \
101
  && mkdir -p /app/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/LoRA
102
 
@@ -116,7 +116,7 @@ RUN sed -i -e 's/ outputs=\[/queue=False, &/g' modules/ui.py
116
  RUN sed -i -e 's/ queue=False, / /g' modules/ui.py
117
 
118
  # Copy startup scripts
119
- COPY --chown=user:user run.py on_start.sh config.json ui-config.json /app/stable-diffusion-webui/
120
  RUN chmod +x on_start.sh
121
 
122
  EXPOSE 7860
 
80
  RUN poetry install
81
 
82
  # AUTOMATIC1111' WebUI
83
+ RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui /app/stable-diffusion-webui \
84
  && (cd /app/stable-diffusion-webui && git checkout 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8)
85
 
86
  # Deforum extension
87
+ RUN git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui \
88
  && (cd /app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui && git checkout b60d999202f0fd2b386150d0938c43e639db8643)
89
 
90
  # Images Browser WebUI extension
91
+ RUN git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser \
92
  && (cd /app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser && git checkout a42c7a30181636a05815e62426d5eff4d3340529)
93
 
94
  # CiviTAI Browser WebUI extension
95
+ RUN git clone https://github.com/Vetchems/sd-civitai-browser /app/stable-diffusion-webui/extensions/sd-civitai-browser \
96
  && (cd /app/stable-diffusion-webui/extensions/sd-civitai-browser && git checkout b25a5daf7df3f6340d3e243d533228d8ade5288d)
97
 
98
  # Additional Networks WebUI extension
99
+ RUN git clone https://github.com/kohya-ss/sd-webui-additional-networks /app/stable-diffusion-webui/extensions/sd-webui-additional-networks \
100
  && (cd /app/stable-diffusion-webui/extensions/sd-webui-additional-networks && git checkout 822f2136fa6d63b85663597b03ef3edafab01187) \
101
  && mkdir -p /app/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/LoRA
102
 
 
116
  RUN sed -i -e 's/ queue=False, / /g' modules/ui.py
117
 
118
  # Copy startup scripts
119
+ COPY --chown=user:user run.py on_start.sh config.json ui-config.json shared-config.json shared-ui-config.json /app/stable-diffusion-webui/
120
  RUN chmod +x on_start.sh
121
 
122
  EXPOSE 7860
README.md CHANGED
@@ -22,7 +22,9 @@ models:
22
 
23
  ## Stable Diffusion WebUI + ControlNet
24
 
25
- Comes both with Stable Diffusion 2.1 models and Stable Diffusion 1.5 models and bundles several popular extensions to [AUTOMATIC1111's WebUI]([https://github.com/AUTOMATIC1111/stable-diffusion-webui]), including the [ControlNet WebUI extension](https://github.com/Mikubill/sd-webui-controlnet). ControlNet models primarily works best with the SD 1.5 models at the time of writing.
 
 
26
 
27
  🐳 🦄 Builds a Docker image to be run as a Space at [Hugging Face](https://huggingface.co/) using A10G or T4 hardware.
28
 
@@ -30,7 +32,7 @@ Comes both with Stable Diffusion 2.1 models and Stable Diffusion 1.5 models and
30
 
31
  1. Duplicate this space to your Hugging Face account or clone this repo to your account.
32
  2. Under the *"Settings"* tab of your space you can choose which hardware for your space, that you will also be billed for.
33
- 3. The [`on_start.sh`](./on_start.sh) file will be run when the container is started, right before the WebUI is initiated. This is where you can install any additional extensions or models you may need.
34
 
35
  ---
36
 
@@ -99,7 +101,7 @@ Visit the individual model pages for more information on the models and their li
99
  * [GitHub ➔ yfszzx/stable-diffusion-webui-images-browser](https://github.com/yfszzx/stable-diffusion-webui-images-browser)
100
  * [GitHub ➔ Vetchems/sd-civitai-browser](https://github.com/Vetchems/sd-civitai-browser)
101
  * [GitHub ➔ kohya-ss/sd-webui-additional-networks](https://github.com/kohya-ss/sd-webui-additional-networks)
102
- * [GitHub ➔ https://github.com/Mikubill/sd-webui-controlnet](https://github.com/Mikubill/sd-webui-controlnet)
103
 
104
  ### Additional acknowledgements
105
 
 
22
 
23
  ## Stable Diffusion WebUI + ControlNet
24
 
25
+ Private image builds with both with Stable Diffusion 2.1 models and Stable Diffusion 1.5 models and bundles several popular extensions to [AUTOMATIC1111's WebUI]([https://github.com/AUTOMATIC1111/stable-diffusion-webui]), including the [ControlNet WebUI extension](https://github.com/Mikubill/sd-webui-controlnet). ControlNet models primarily works best with the SD 1.5 models at the time of writing.
26
+
27
+ Shared UI space would usually load with a model based on Stable Diffusion 1.5.
28
 
29
  🐳 🦄 Builds a Docker image to be run as a Space at [Hugging Face](https://huggingface.co/) using A10G or T4 hardware.
30
 
 
32
 
33
  1. Duplicate this space to your Hugging Face account or clone this repo to your account.
34
  2. Under the *"Settings"* tab of your space you can choose which hardware for your space, that you will also be billed for.
35
+ 3. The [`on_start.sh`](./on_start.sh) file will be run when the container is started, right before the WebUI is initiated. This is where you can install any additional extensions or models you may need. Make sure the env value `IS_SHARED_UI` is set to `0` or is unset for your space, or else only the lightweight model installation will run and some features will be disabled.
36
 
37
  ---
38
 
 
101
  * [GitHub ➔ yfszzx/stable-diffusion-webui-images-browser](https://github.com/yfszzx/stable-diffusion-webui-images-browser)
102
  * [GitHub ➔ Vetchems/sd-civitai-browser](https://github.com/Vetchems/sd-civitai-browser)
103
  * [GitHub ➔ kohya-ss/sd-webui-additional-networks](https://github.com/kohya-ss/sd-webui-additional-networks)
104
+ * [GitHub ➔ Mikubill/sd-webui-controlnet](https://github.com/Mikubill/sd-webui-controlnet)
105
 
106
  ### Additional acknowledgements
107
 
on_start.sh CHANGED
@@ -26,6 +26,32 @@ function download-model() {
26
 
27
  ## ----------------------------
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  ## Stable Diffusion 2.1 · 768 base model:
30
  download-model --checkpoint "v2-1_768-ema-pruned.safetensors" "https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/36a01dc742066de2e8c91e7cf0b8f6b53ef53da1/v2-1_768-ema-pruned.safetensors"
31
  download-model --checkpoint "v2-1_768-ema-pruned.yaml" "https://raw.githubusercontent.com/Stability-AI/stablediffusion/fc1488421a2761937b9d54784194157882cbc3b1/configs/stable-diffusion/v2-inference-v.yaml"
@@ -61,6 +87,8 @@ download-model --control-net "control_scribble-fp16.safetensors" "https://huggin
61
  ## Embedding · bad_prompt_version2
62
  download-model --embedding "bad_prompt_version2.pt" "https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/72fd9d6011c2ba87b5847b7e45e6603917e3cbed/bad_prompt_version2.pt"
63
 
 
 
64
  ## Checkpoint · The Ally's Mix III: Revolutions:
65
  download-model --checkpoint "theAllysMixIII_v10.safetensors" "https://civitai.com/api/download/models/12763?type=Model&format=SafeTensor"
66
 
 
26
 
27
  ## ----------------------------
28
 
29
+ ## Installing less models if $IS_SHARED_UI environment variable is set.
30
+ if ! [ -z $IS_SHARED_UI ] && [ "$IS_SHARED_UI" != 0 ]; then
31
+ download-model --checkpoint "v1-5-pruned-emaonly.safetensors" "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/39593d5650112b4cc580433f6b0435385882d819/v1-5-pruned-emaonly.safetensors"
32
+ download-model --checkpoint "v1-5-pruned-emaonly.yaml" "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/39593d5650112b4cc580433f6b0435385882d819/v1-inference.yaml"
33
+ download-model --control-net "cldm_v15.yaml" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/cldm_v15.yaml"
34
+ download-model --control-net "control_canny-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_canny-fp16.safetensors"
35
+ download-model --control-net "control_depth-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_depth-fp16.safetensors"
36
+ download-model --control-net "control_normal-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_normal-fp16.safetensors"
37
+ download-model --control-net "control_openpose-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_openpose-fp16.safetensors"
38
+ download-model --control-net "control_scribble-fp16.safetensors" "https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/87c3affbcad3baec52ffe39cac3a15a94902aed3/control_scribble-fp16.safetensors"
39
+ download-model --checkpoint "theAllysMixIII_v10.safetensors" "https://civitai.com/api/download/models/12763?type=Model&format=SafeTensor"
40
+ sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /app/stable-diffusion-webui/modules/ui.py
41
+ sed -i -e '/(train_interface, \"Train\", \"ti\"),/d' /app/stable-diffusion-webui/modules/ui.py
42
+ sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /app/stable-diffusion-webui/modules/ui.py
43
+ sed -i -e '/settings_interface, \"Settings\", \"settings\"/d' /app/stable-diffusion-webui/modules/ui.py
44
+ rm -rf /app/stable-diffusion-webui/scripts /app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui /app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser /app/stable-diffusion-webui/extensions/sd-civitai-browser /app/stable-diffusion-webui/extensions/sd-webui-additional-networks
45
+ cp -f shared-config.json config.json
46
+ cp -f shared-ui-config.json ui-config.json
47
+ exit 0
48
+ fi
49
+ ## End of lightweight installation for $IS_SHARED_UI setup.
50
+
51
+ ## ----------------------------
52
+ ## env $IS_SHARED_UI is not set
53
+ ## ----------------------------
54
+
55
  ## Stable Diffusion 2.1 · 768 base model:
56
  download-model --checkpoint "v2-1_768-ema-pruned.safetensors" "https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/36a01dc742066de2e8c91e7cf0b8f6b53ef53da1/v2-1_768-ema-pruned.safetensors"
57
  download-model --checkpoint "v2-1_768-ema-pruned.yaml" "https://raw.githubusercontent.com/Stability-AI/stablediffusion/fc1488421a2761937b9d54784194157882cbc3b1/configs/stable-diffusion/v2-inference-v.yaml"
 
87
  ## Embedding · bad_prompt_version2
88
  download-model --embedding "bad_prompt_version2.pt" "https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/72fd9d6011c2ba87b5847b7e45e6603917e3cbed/bad_prompt_version2.pt"
89
 
90
+ ## ----------------------------
91
+
92
  ## Checkpoint · The Ally's Mix III: Revolutions:
93
  download-model --checkpoint "theAllysMixIII_v10.safetensors" "https://civitai.com/api/download/models/12763?type=Model&format=SafeTensor"
94
 
shared-config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "samples_save": false,
3
+ "samples_format": "png",
4
+ "samples_filename_pattern": "",
5
+ "save_images_add_number": true,
6
+ "grid_save": false,
7
+ "grid_format": "png",
8
+ "grid_extended_filename": false,
9
+ "grid_only_if_multiple": true,
10
+ "grid_prevent_empty_spots": false,
11
+ "n_rows": -1,
12
+ "enable_pnginfo": true,
13
+ "save_txt": false,
14
+ "save_images_before_face_restoration": false,
15
+ "save_images_before_highres_fix": false,
16
+ "save_images_before_color_correction": false,
17
+ "jpeg_quality": 80,
18
+ "export_for_4chan": false,
19
+ "use_original_name_batch": false,
20
+ "save_selected_only": true,
21
+ "do_not_add_watermark": false,
22
+ "temp_dir": "",
23
+ "clean_temp_dir_at_start": false,
24
+ "outdir_samples": "",
25
+ "outdir_txt2img_samples": "outputs/txt2img-images",
26
+ "outdir_img2img_samples": "outputs/img2img-images",
27
+ "outdir_extras_samples": "outputs/extras-images",
28
+ "outdir_grids": "",
29
+ "outdir_txt2img_grids": "outputs/txt2img-grids",
30
+ "outdir_img2img_grids": "outputs/img2img-grids",
31
+ "outdir_save": "log/images",
32
+ "save_to_dirs": false,
33
+ "grid_save_to_dirs": false,
34
+ "use_save_to_dirs_for_ui": false,
35
+ "directories_filename_pattern": "",
36
+ "directories_max_prompt_words": 8,
37
+ "ESRGAN_tile": 192,
38
+ "ESRGAN_tile_overlap": 8,
39
+ "realesrgan_enabled_models": [
40
+ "R-ESRGAN 4x+",
41
+ "R-ESRGAN 4x+ Anime6B"
42
+ ],
43
+ "upscaler_for_img2img": null,
44
+ "use_scale_latent_for_hires_fix": false,
45
+ "face_restoration_model": null,
46
+ "code_former_weight": 0.5,
47
+ "face_restoration_unload": false,
48
+ "memmon_poll_rate": 8,
49
+ "samples_log_stdout": false,
50
+ "multiple_tqdm": true,
51
+ "unload_models_when_training": false,
52
+ "pin_memory": false,
53
+ "save_optimizer_state": false,
54
+ "dataset_filename_word_regex": "",
55
+ "dataset_filename_join_string": " ",
56
+ "training_image_repeats_per_epoch": 1,
57
+ "training_write_csv_every": 500,
58
+ "training_xattention_optimizations": false,
59
+ "sd_model_checkpoint": "theAllysMixIII_v10.safetensors",
60
+ "sd_checkpoint_cache": 0,
61
+ "sd_vae": "auto",
62
+ "sd_vae_as_default": false,
63
+ "sd_hypernetwork": "None",
64
+ "sd_hypernetwork_strength": 1.0,
65
+ "inpainting_mask_weight": 1.0,
66
+ "img2img_color_correction": false,
67
+ "img2img_fix_steps": false,
68
+ "enable_quantization": false,
69
+ "enable_emphasis": true,
70
+ "use_old_emphasis_implementation": false,
71
+ "enable_batch_seeds": true,
72
+ "comma_padding_backtrack": 20,
73
+ "filter_nsfw": false,
74
+ "CLIP_stop_at_last_layers": 1,
75
+ "random_artist_categories": [],
76
+ "interrogate_keep_models_in_memory": false,
77
+ "interrogate_use_builtin_artists": true,
78
+ "interrogate_return_ranks": false,
79
+ "interrogate_clip_num_beams": 1,
80
+ "interrogate_clip_min_length": 24,
81
+ "interrogate_clip_max_length": 48,
82
+ "interrogate_clip_dict_limit": 1500,
83
+ "interrogate_deepbooru_score_threshold": 0.5,
84
+ "deepbooru_sort_alpha": true,
85
+ "deepbooru_use_spaces": false,
86
+ "deepbooru_escape": true,
87
+ "show_progressbar": false,
88
+ "show_progress_every_n_steps": 0,
89
+ "show_progress_grid": true,
90
+ "return_grid": true,
91
+ "do_not_show_images": false,
92
+ "add_model_hash_to_info": true,
93
+ "add_model_name_to_info": false,
94
+ "disable_weights_auto_swap": false,
95
+ "send_seed": true,
96
+ "font": "",
97
+ "js_modal_lightbox": true,
98
+ "js_modal_lightbox_initially_zoomed": true,
99
+ "show_progress_in_title": true,
100
+ "quicksettings": "",
101
+ "localization": "None",
102
+ "hide_samplers": [],
103
+ "eta_ddim": 0.0,
104
+ "eta_ancestral": 1.0,
105
+ "ddim_discretize": "uniform",
106
+ "s_churn": 0.0,
107
+ "s_tmin": 0.0,
108
+ "s_noise": 1.0,
109
+ "eta_noise_seed_delta": 0,
110
+ "disabled_extensions": [],
111
+ "ldsr_steps": 1,
112
+ "SWIN_tile": 192,
113
+ "SWIN_tile_overlap": 8
114
+ }
shared-ui-config.json ADDED
@@ -0,0 +1,360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "txt2img/Prompt/visible": true,
3
+ "txt2img/Prompt/value": "",
4
+ "txt2img/Negative prompt/visible": true,
5
+ "txt2img/Negative prompt/value": "",
6
+ "txt2img/Style 1/value": "None",
7
+ "txt2img/Style 1/visible": true,
8
+ "txt2img/Style 2/value": "None",
9
+ "txt2img/Style 2/visible": true,
10
+ "txt2img/Sampling Steps/visible": true,
11
+ "txt2img/Sampling Steps/value": 20,
12
+ "txt2img/Sampling Steps/minimum": 1,
13
+ "txt2img/Sampling Steps/maximum": 50,
14
+ "txt2img/Sampling Steps/step": 1,
15
+ "txt2img/Sampling method/visible": true,
16
+ "txt2img/Sampling method/value": "Euler a",
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,
29
+ "txt2img/Tiling/visible": true,
30
+ "txt2img/Tiling/value": false,
31
+ "txt2img/Highres. fix/visible": true,
32
+ "txt2img/Highres. fix/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": 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,
45
+ "txt2img/Denoising strength/minimum": 0.0,
46
+ "txt2img/Denoising strength/maximum": 1.0,
47
+ "txt2img/Denoising strength/step": 0.01,
48
+ "txt2img/Batch count/visible": true,
49
+ "txt2img/Batch count/value": 1,
50
+ "txt2img/Batch count/minimum": 1,
51
+ "txt2img/Batch count/maximum": 1,
52
+ "txt2img/Batch count/step": 1,
53
+ "txt2img/Batch size/visible": true,
54
+ "txt2img/Batch size/value": 1,
55
+ "txt2img/Batch size/minimum": 1,
56
+ "txt2img/Batch size/maximum": 1,
57
+ "txt2img/Batch size/step": 1,
58
+ "txt2img/CFG Scale/visible": true,
59
+ "txt2img/CFG Scale/value": 7.0,
60
+ "txt2img/CFG Scale/minimum": 1.0,
61
+ "txt2img/CFG Scale/maximum": 30.0,
62
+ "txt2img/CFG Scale/step": 0.5,
63
+ "txt2img/Seed/visible": true,
64
+ "txt2img/Seed/value": -1.0,
65
+ "txt2img/Extra/visible": true,
66
+ "txt2img/Extra/value": false,
67
+ "txt2img/Variation seed/visible": true,
68
+ "txt2img/Variation seed/value": -1.0,
69
+ "txt2img/Variation strength/visible": true,
70
+ "txt2img/Variation strength/value": 0.0,
71
+ "txt2img/Variation strength/minimum": 0,
72
+ "txt2img/Variation strength/maximum": 1,
73
+ "txt2img/Variation strength/step": 0.01,
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,
86
+ "customscript/prompt_matrix.py/txt2img/Put variable parts at start of prompt/visible": true,
87
+ "customscript/prompt_matrix.py/txt2img/Put variable parts at start of prompt/value": false,
88
+ "customscript/prompts_from_file.py/txt2img/Iterate seed every line/visible": true,
89
+ "customscript/prompts_from_file.py/txt2img/Iterate seed every line/value": false,
90
+ "customscript/prompts_from_file.py/txt2img/Use same random seed for all lines/visible": true,
91
+ "customscript/prompts_from_file.py/txt2img/Use same random seed for all lines/value": false,
92
+ "customscript/prompts_from_file.py/txt2img/List of prompt inputs/visible": true,
93
+ "customscript/prompts_from_file.py/txt2img/List of prompt inputs/value": "",
94
+ "customscript/xy_grid.py/txt2img/X values/visible": true,
95
+ "customscript/xy_grid.py/txt2img/X values/value": "",
96
+ "customscript/xy_grid.py/txt2img/Y values/visible": true,
97
+ "customscript/xy_grid.py/txt2img/Y values/value": "",
98
+ "customscript/xy_grid.py/txt2img/Draw legend/visible": true,
99
+ "customscript/xy_grid.py/txt2img/Draw legend/value": true,
100
+ "customscript/xy_grid.py/txt2img/Include Separate Images/visible": true,
101
+ "customscript/xy_grid.py/txt2img/Include Separate Images/value": false,
102
+ "customscript/xy_grid.py/txt2img/Keep -1 for seeds/visible": true,
103
+ "customscript/xy_grid.py/txt2img/Keep -1 for seeds/value": false,
104
+ "txt2img/Make Zip when Save?/visible": true,
105
+ "txt2img/Make Zip when Save?/value": false,
106
+ "img2img/Prompt/visible": true,
107
+ "img2img/Prompt/value": "",
108
+ "img2img/Negative prompt/visible": true,
109
+ "img2img/Negative prompt/value": "",
110
+ "img2img/Style 1/value": "None",
111
+ "img2img/Style 1/visible": true,
112
+ "img2img/Style 2/value": "None",
113
+ "img2img/Style 2/visible": true,
114
+ "img2img/Mask blur/visible": true,
115
+ "img2img/Mask blur/value": 4,
116
+ "img2img/Mask blur/minimum": 0,
117
+ "img2img/Mask blur/maximum": 64,
118
+ "img2img/Mask blur/step": 1,
119
+ "img2img/Mask transparency/value": 0,
120
+ "img2img/Mask transparency/minimum": 0,
121
+ "img2img/Mask transparency/maximum": 100,
122
+ "img2img/Mask transparency/step": 1,
123
+ "img2img/Mask mode/visible": true,
124
+ "img2img/Mask mode/value": "Draw mask",
125
+ "img2img/Masking mode/visible": true,
126
+ "img2img/Masking mode/value": "Inpaint masked",
127
+ "img2img/Masked content/visible": true,
128
+ "img2img/Masked content/value": "original",
129
+ "img2img/Inpaint at full resolution/visible": true,
130
+ "img2img/Inpaint at full resolution/value": false,
131
+ "img2img/Inpaint at full resolution padding, pixels/visible": true,
132
+ "img2img/Inpaint at full resolution padding, pixels/value": 32,
133
+ "img2img/Inpaint at full resolution padding, pixels/minimum": 0,
134
+ "img2img/Inpaint at full resolution padding, pixels/maximum": 256,
135
+ "img2img/Inpaint at full resolution padding, pixels/step": 4,
136
+ "img2img/Input directory/visible": true,
137
+ "img2img/Input directory/value": "",
138
+ "img2img/Output directory/visible": true,
139
+ "img2img/Output directory/value": "",
140
+ "img2img/Resize mode/visible": true,
141
+ "img2img/Resize mode/value": "Just resize",
142
+ "img2img/Sampling Steps/visible": true,
143
+ "img2img/Sampling Steps/value": 20,
144
+ "img2img/Sampling Steps/minimum": 1,
145
+ "img2img/Sampling Steps/maximum": 50,
146
+ "img2img/Sampling Steps/step": 1,
147
+ "img2img/Sampling method/visible": true,
148
+ "img2img/Sampling method/value": "Euler a",
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,
161
+ "img2img/Tiling/visible": true,
162
+ "img2img/Tiling/value": false,
163
+ "img2img/Batch count/visible": true,
164
+ "img2img/Batch count/value": 1,
165
+ "img2img/Batch count/minimum": 1,
166
+ "img2img/Batch count/maximum": 1,
167
+ "img2img/Batch count/step": 1,
168
+ "img2img/Batch size/visible": true,
169
+ "img2img/Batch size/value": 1,
170
+ "img2img/Batch size/minimum": 1,
171
+ "img2img/Batch size/maximum": 1,
172
+ "img2img/Batch size/step": 1,
173
+ "img2img/CFG Scale/visible": true,
174
+ "img2img/CFG Scale/value": 7.0,
175
+ "img2img/CFG Scale/minimum": 1.0,
176
+ "img2img/CFG Scale/maximum": 30.0,
177
+ "img2img/CFG Scale/step": 0.5,
178
+ "img2img/Denoising strength/visible": true,
179
+ "img2img/Denoising strength/value": 0.75,
180
+ "img2img/Denoising strength/minimum": 0.0,
181
+ "img2img/Denoising strength/maximum": 1.0,
182
+ "img2img/Denoising strength/step": 0.01,
183
+ "img2img/Seed/visible": true,
184
+ "img2img/Seed/value": -1.0,
185
+ "img2img/Extra/visible": true,
186
+ "img2img/Extra/value": false,
187
+ "img2img/Variation seed/visible": true,
188
+ "img2img/Variation seed/value": -1.0,
189
+ "img2img/Variation strength/visible": true,
190
+ "img2img/Variation strength/value": 0.0,
191
+ "img2img/Variation strength/minimum": 0,
192
+ "img2img/Variation strength/maximum": 1,
193
+ "img2img/Variation strength/step": 0.01,
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,
206
+ "customscript/img2imgalt.py/img2img/Override `Sampling method` to Euler?(this method is built for it)/visible": true,
207
+ "customscript/img2imgalt.py/img2img/Override `Sampling method` to Euler?(this method is built for it)/value": true,
208
+ "customscript/img2imgalt.py/img2img/Override `prompt` to the same value as `original prompt`?(and `negative prompt`)/visible": true,
209
+ "customscript/img2imgalt.py/img2img/Override `prompt` to the same value as `original prompt`?(and `negative prompt`)/value": true,
210
+ "customscript/img2imgalt.py/img2img/Original prompt/visible": true,
211
+ "customscript/img2imgalt.py/img2img/Original prompt/value": "",
212
+ "customscript/img2imgalt.py/img2img/Original negative prompt/visible": true,
213
+ "customscript/img2imgalt.py/img2img/Original negative prompt/value": "",
214
+ "customscript/img2imgalt.py/img2img/Override `Sampling Steps` to the same value as `Decode steps`?/visible": true,
215
+ "customscript/img2imgalt.py/img2img/Override `Sampling Steps` to the same value as `Decode steps`?/value": true,
216
+ "customscript/img2imgalt.py/img2img/Decode steps/visible": true,
217
+ "customscript/img2imgalt.py/img2img/Decode steps/value": 50,
218
+ "customscript/img2imgalt.py/img2img/Decode steps/minimum": 1,
219
+ "customscript/img2imgalt.py/img2img/Decode steps/maximum": 150,
220
+ "customscript/img2imgalt.py/img2img/Decode steps/step": 1,
221
+ "customscript/img2imgalt.py/img2img/Override `Denoising strength` to 1?/visible": true,
222
+ "customscript/img2imgalt.py/img2img/Override `Denoising strength` to 1?/value": true,
223
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/visible": true,
224
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/value": 1.0,
225
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/minimum": 0.0,
226
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/maximum": 15.0,
227
+ "customscript/img2imgalt.py/img2img/Decode CFG scale/step": 0.1,
228
+ "customscript/img2imgalt.py/img2img/Randomness/visible": true,
229
+ "customscript/img2imgalt.py/img2img/Randomness/value": 0.0,
230
+ "customscript/img2imgalt.py/img2img/Randomness/minimum": 0.0,
231
+ "customscript/img2imgalt.py/img2img/Randomness/maximum": 1.0,
232
+ "customscript/img2imgalt.py/img2img/Randomness/step": 0.01,
233
+ "customscript/img2imgalt.py/img2img/Sigma adjustment for finding noise for image/visible": true,
234
+ "customscript/img2imgalt.py/img2img/Sigma adjustment for finding noise for image/value": false,
235
+ "customscript/loopback.py/img2img/Loops/visible": true,
236
+ "customscript/loopback.py/img2img/Loops/value": 4,
237
+ "customscript/loopback.py/img2img/Loops/minimum": 1,
238
+ "customscript/loopback.py/img2img/Loops/maximum": 32,
239
+ "customscript/loopback.py/img2img/Loops/step": 1,
240
+ "customscript/loopback.py/img2img/Denoising strength change factor/visible": true,
241
+ "customscript/loopback.py/img2img/Denoising strength change factor/value": 1,
242
+ "customscript/loopback.py/img2img/Denoising strength change factor/minimum": 0.9,
243
+ "customscript/loopback.py/img2img/Denoising strength change factor/maximum": 1.1,
244
+ "customscript/loopback.py/img2img/Denoising strength change factor/step": 0.01,
245
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/visible": true,
246
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/value": 128,
247
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/minimum": 8,
248
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/maximum": 256,
249
+ "customscript/outpainting_mk_2.py/img2img/Pixels to expand/step": 8,
250
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/visible": true,
251
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/value": 8,
252
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/minimum": 0,
253
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/maximum": 64,
254
+ "customscript/outpainting_mk_2.py/img2img/Mask blur/step": 1,
255
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/visible": true,
256
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/value": 1.0,
257
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/minimum": 0.0,
258
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/maximum": 4.0,
259
+ "customscript/outpainting_mk_2.py/img2img/Fall-off exponent (lower=higher detail)/step": 0.01,
260
+ "customscript/outpainting_mk_2.py/img2img/Color variation/visible": true,
261
+ "customscript/outpainting_mk_2.py/img2img/Color variation/value": 0.05,
262
+ "customscript/outpainting_mk_2.py/img2img/Color variation/minimum": 0.0,
263
+ "customscript/outpainting_mk_2.py/img2img/Color variation/maximum": 1.0,
264
+ "customscript/outpainting_mk_2.py/img2img/Color variation/step": 0.01,
265
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/visible": true,
266
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/value": 128,
267
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/minimum": 8,
268
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/maximum": 256,
269
+ "customscript/poor_mans_outpainting.py/img2img/Pixels to expand/step": 8,
270
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/visible": true,
271
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/value": 4,
272
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/minimum": 0,
273
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/maximum": 64,
274
+ "customscript/poor_mans_outpainting.py/img2img/Mask blur/step": 1,
275
+ "customscript/poor_mans_outpainting.py/img2img/Masked content/visible": true,
276
+ "customscript/poor_mans_outpainting.py/img2img/Masked content/value": "fill",
277
+ "customscript/prompt_matrix.py/img2img/Put variable parts at start of prompt/visible": true,
278
+ "customscript/prompt_matrix.py/img2img/Put variable parts at start of prompt/value": false,
279
+ "customscript/prompts_from_file.py/img2img/Iterate seed every line/visible": true,
280
+ "customscript/prompts_from_file.py/img2img/Iterate seed every line/value": false,
281
+ "customscript/prompts_from_file.py/img2img/Use same random seed for all lines/visible": true,
282
+ "customscript/prompts_from_file.py/img2img/Use same random seed for all lines/value": false,
283
+ "customscript/prompts_from_file.py/img2img/List of prompt inputs/visible": true,
284
+ "customscript/prompts_from_file.py/img2img/List of prompt inputs/value": "",
285
+ "customscript/sd_upscale.py/img2img/Tile overlap/visible": true,
286
+ "customscript/sd_upscale.py/img2img/Tile overlap/value": 64,
287
+ "customscript/sd_upscale.py/img2img/Tile overlap/minimum": 0,
288
+ "customscript/sd_upscale.py/img2img/Tile overlap/maximum": 256,
289
+ "customscript/sd_upscale.py/img2img/Tile overlap/step": 16,
290
+ "customscript/sd_upscale.py/img2img/Upscaler/visible": true,
291
+ "customscript/sd_upscale.py/img2img/Upscaler/value": "None",
292
+ "customscript/xy_grid.py/img2img/X values/visible": true,
293
+ "customscript/xy_grid.py/img2img/X values/value": "",
294
+ "customscript/xy_grid.py/img2img/Y values/visible": true,
295
+ "customscript/xy_grid.py/img2img/Y values/value": "",
296
+ "customscript/xy_grid.py/img2img/Draw legend/visible": true,
297
+ "customscript/xy_grid.py/img2img/Draw legend/value": true,
298
+ "customscript/xy_grid.py/img2img/Include Separate Images/visible": true,
299
+ "customscript/xy_grid.py/img2img/Include Separate Images/value": false,
300
+ "customscript/xy_grid.py/img2img/Keep -1 for seeds/visible": true,
301
+ "customscript/xy_grid.py/img2img/Keep -1 for seeds/value": false,
302
+ "img2img/Make Zip when Save?/visible": true,
303
+ "img2img/Make Zip when Save?/value": false,
304
+ "extras/Input directory/visible": true,
305
+ "extras/Input directory/value": "",
306
+ "extras/Output directory/visible": true,
307
+ "extras/Output directory/value": "",
308
+ "extras/Show result images/visible": true,
309
+ "extras/Show result images/value": true,
310
+ "extras/Resize/visible": true,
311
+ "extras/Resize/value": 4,
312
+ "extras/Resize/minimum": 1.0,
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,
322
+ "extras/Upscaler 1/value": "None",
323
+ "extras/Upscaler 2/visible": true,
324
+ "extras/Upscaler 2/value": "None",
325
+ "extras/Upscaler 2 visibility/visible": true,
326
+ "extras/Upscaler 2 visibility/value": 1,
327
+ "extras/Upscaler 2 visibility/minimum": 0.0,
328
+ "extras/Upscaler 2 visibility/maximum": 1.0,
329
+ "extras/Upscaler 2 visibility/step": 0.001,
330
+ "extras/GFPGAN visibility/visible": true,
331
+ "extras/GFPGAN visibility/value": 0,
332
+ "extras/GFPGAN visibility/minimum": 0.0,
333
+ "extras/GFPGAN visibility/maximum": 1.0,
334
+ "extras/GFPGAN visibility/step": 0.001,
335
+ "extras/CodeFormer visibility/visible": true,
336
+ "extras/CodeFormer visibility/value": 0,
337
+ "extras/CodeFormer visibility/minimum": 0.0,
338
+ "extras/CodeFormer visibility/maximum": 1.0,
339
+ "extras/CodeFormer visibility/step": 0.001,
340
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/visible": true,
341
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/value": 0,
342
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/minimum": 0.0,
343
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/maximum": 1.0,
344
+ "extras/CodeFormer weight (0 = maximum effect, 1 = minimum effect)/step": 0.001,
345
+ "extras/Upscale Before Restoring Faces/visible": true,
346
+ "extras/Upscale Before Restoring Faces/value": false,
347
+ "modelmerger/Custom Name (Optional)/visible": true,
348
+ "modelmerger/Custom Name (Optional)/value": "",
349
+ "modelmerger/Multiplier (M) - set to 0 to get model A/visible": true,
350
+ "modelmerger/Multiplier (M) - set to 0 to get model A/value": 0.3,
351
+ "modelmerger/Multiplier (M) - set to 0 to get model A/minimum": 0.0,
352
+ "modelmerger/Multiplier (M) - set to 0 to get model A/maximum": 1.0,
353
+ "modelmerger/Multiplier (M) - set to 0 to get model A/step": 0.05,
354
+ "modelmerger/Interpolation Method/visible": true,
355
+ "modelmerger/Interpolation Method/value": "Weighted sum",
356
+ "modelmerger/Checkpoint format/visible": true,
357
+ "modelmerger/Checkpoint format/value": "ckpt",
358
+ "modelmerger/Save as float16/visible": true,
359
+ "modelmerger/Save as float16/value": false
360
+ }
ui-config.json CHANGED
@@ -2,7 +2,7 @@
2
  "txt2img/Prompt/visible": true,
3
  "txt2img/Prompt/value": "",
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, watermark, artist sign, blurry, out of frame, ((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, [low_resolution], normal quality, cross eyed, bad anatomy, very thin legs, very thin arms, deformed, surreal, cloned face, squinting",
6
  "txt2img/Style 1/value": "None",
7
  "txt2img/Style 1/visible": true,
8
  "txt2img/Style 2/value": "None",
 
2
  "txt2img/Prompt/visible": true,
3
  "txt2img/Prompt/value": "",
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, watermark, artist sign, blurry, out of frame, ((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",