aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorGuillermo Moreno <gmq@guillermomoreno.cl>2023-01-21 18:27:57 -0300
committerGuillermo Moreno <gmq@guillermomoreno.cl>2023-01-22 12:18:21 -0300
commit66eef11ce7f3db108225668c573cb4a763a43fb3 (patch)
tree47b7f8565ed95dc34bece7f7714fe6663a755ea6 /modules/shared.py
parent985c0b8e9abdd67734d638badefb6ea806b1f28b (diff)
feat(extra-networks): add default view setting
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 cd78e50a..e9548864 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -430,6 +430,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"),