diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-18 11:22:52 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-18 11:22:52 +0000 |
commit | d2f459c5cf9f728256775dc1c3380c7e9a7e27fb (patch) | |
tree | 77ea3b297092f6ad9e2e80d2eaea0d78729a26d1 | |
parent | 8b02662215917d39f76f86b703a322818d5a8ad4 (diff) | |
download | stable-diffusion-webui-gfx803-d2f459c5cf9f728256775dc1c3380c7e9a7e27fb.tar.gz stable-diffusion-webui-gfx803-d2f459c5cf9f728256775dc1c3380c7e9a7e27fb.tar.bz2 stable-diffusion-webui-gfx803-d2f459c5cf9f728256775dc1c3380c7e9a7e27fb.zip |
clarify the comment for the new option from #2959 and move it to UI section.
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index 8a1d1881..c0d87168 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -266,7 +266,6 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), { "enable_emphasis": OptionInfo(True, "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention"),
"use_old_emphasis_implementation": OptionInfo(False, "Use old emphasis implementation. Can be useful to reproduce old seeds."),
"enable_batch_seeds": OptionInfo(True, "Make K-diffusion samplers produce same images in a batch as when making a single image"),
- "disable_weights_auto_swap": OptionInfo(False, "Disable auto swapping weights to match model hash in prompts"),
"comma_padding_backtrack": OptionInfo(20, "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens", gr.Slider, {"minimum": 0, "maximum": 74, "step": 1 }),
"filter_nsfw": OptionInfo(False, "Filter NSFW content"),
'CLIP_stop_at_last_layers': OptionInfo(1, "Stop At last layers of CLIP model", gr.Slider, {"minimum": 1, "maximum": 12, "step": 1}),
@@ -294,6 +293,7 @@ options_templates.update(options_section(('ui', "User interface"), { "do_not_show_images": OptionInfo(False, "Do not show any images in results for web"),
"add_model_hash_to_info": OptionInfo(True, "Add model hash to generation information"),
"add_model_name_to_info": OptionInfo(False, "Add model name to generation information"),
+ "disable_weights_auto_swap": OptionInfo(False, "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint."),
"font": OptionInfo("", "Font for image grids that have text"),
"js_modal_lightbox": OptionInfo(True, "Enable full page image viewer"),
"js_modal_lightbox_initially_zoomed": OptionInfo(True, "Show images zoomed in by default in full page image viewer"),
|