aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-01-23 15:46:37 +0000
committerGitHub <noreply@github.com>2023-01-23 15:46:37 +0000
commit171a5b3bb9eb06ebbd4a16c293fda5ce2a7fa462 (patch)
tree803eacb87db4da3b544f97a93be32ef541ab2488 /modules/shared.py
parent756a2c3c0ff7212eee2a88a1ede0f6be5db87e08 (diff)
parentdbcb6fac77f642e30d7b00b76cb7164a26dd4b94 (diff)
downloadstable-diffusion-webui-gfx803-171a5b3bb9eb06ebbd4a16c293fda5ce2a7fa462.tar.gz
stable-diffusion-webui-gfx803-171a5b3bb9eb06ebbd4a16c293fda5ce2a7fa462.tar.bz2
stable-diffusion-webui-gfx803-171a5b3bb9eb06ebbd4a16c293fda5ce2a7fa462.zip
Merge pull request #7032 from gmq/extra-network-styles
Extra network view style
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index a644c0be..e17b4561 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -431,6 +431,10 @@ options_templates.update(options_section(('interrogate', "Interrogate Options"),
"deepbooru_filter_tags": OptionInfo("", "filter out those tags from deepbooru output (separated by comma)"),
}))
+options_templates.update(options_section(('extra_networks', "Extra Networks"), {
+ "extra_networks_default_view": OptionInfo("cards", "Default view for Extra Networks", gr.Dropdown, { "choices": ["cards", "thumbs"] }),
+}))
+
options_templates.update(options_section(('ui', "User interface"), {
"return_grid": OptionInfo(True, "Show grid in results for web"),
"do_not_show_images": OptionInfo(False, "Do not show any images in results for web"),