aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-05-08 12:26:23 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-05-08 12:26:23 +0000
commiteabea24eb8ba5068c97ff5655bbe01dc032af4e9 (patch)
treea049475ea937c8d076021c0a9b82227d58f43a2b
parentab4ab4e595e89d1a9a39db70539d5944fdbe47fa (diff)
downloadstable-diffusion-webui-gfx803-eabea24eb8ba5068c97ff5655bbe01dc032af4e9.tar.gz
stable-diffusion-webui-gfx803-eabea24eb8ba5068c97ff5655bbe01dc032af4e9.tar.bz2
stable-diffusion-webui-gfx803-eabea24eb8ba5068c97ff5655bbe01dc032af4e9.zip
put infotext options into their own category in settings tab
-rw-r--r--modules/shared.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/shared.py b/modules/shared.py
index f40faa79..e1c3e5c4 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -392,10 +392,6 @@ options_templates.update(options_section(('ui', "User interface"), {
"return_mask": OptionInfo(False, "For inpainting, include the greyscale mask in results for web"),
"return_mask_composite": OptionInfo(False, "For inpainting, include masked composite in results for web"),
"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(True, "Add model name to generation information"),
- "add_version_to_infotext": OptionInfo(True, "Add program version to generation information"),
- "disable_weights_auto_swap": OptionInfo(True, "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint."),
"send_seed": OptionInfo(True, "Send seed when sending prompt or image to other interface"),
"send_size": OptionInfo(True, "Send size when sending prompt or image to another interface"),
"font": OptionInfo("", "Font for image grids that have text"),
@@ -417,6 +413,13 @@ options_templates.update(options_section(('ui', "User interface"), {
"gradio_theme": OptionInfo("Default", "Gradio theme (requires restart)", ui_components.DropdownEditable, lambda: {"choices": ["Default"] + gradio_hf_hub_themes})
}))
+options_templates.update(options_section(('infotext', "Infotext"), {
+ "add_model_hash_to_info": OptionInfo(True, "Add model hash to generation information"),
+ "add_model_name_to_info": OptionInfo(True, "Add model name to generation information"),
+ "add_version_to_infotext": OptionInfo(True, "Add program version to generation information"),
+ "disable_weights_auto_swap": OptionInfo(True, "When reading generation parameters from text into UI (from PNG info or pasted text), do not change the selected model/checkpoint."),
+}))
+
options_templates.update(options_section(('ui', "Live previews"), {
"show_progressbar": OptionInfo(True, "Show progressbar"),
"live_previews_enable": OptionInfo(True, "Show live previews of the created image"),