aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-10-12 18:55:43 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-10-12 18:55:43 +0000
commit698d303b04e293635bfb49c525409f3bcf671dce (patch)
tree2587bfb10cc46c9005c42b4337d465137c191634 /modules/shared.py
parentc3c8eef9fd5a0c8b26319e32ca4a19b56204e6df (diff)
downloadstable-diffusion-webui-gfx803-698d303b04e293635bfb49c525409f3bcf671dce.tar.gz
stable-diffusion-webui-gfx803-698d303b04e293635bfb49c525409f3bcf671dce.tar.bz2
stable-diffusion-webui-gfx803-698d303b04e293635bfb49c525409f3bcf671dce.zip
deepbooru: added option to use spaces or underscores
deepbooru: added option to quote (\) in tags deepbooru/BLIP: write caption to file instead of image filename deepbooru/BLIP: now possible to use both for captions deepbooru: process is stopped even if an exception occurs
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index e64e69fc..78b73aae 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -260,6 +260,8 @@ options_templates.update(options_section(('interrogate', "Interrogate Options"),
"interrogate_clip_max_length": OptionInfo(48, "Interrogate: maximum description length", gr.Slider, {"minimum": 1, "maximum": 256, "step": 1}),
"interrogate_deepbooru_score_threshold": OptionInfo(0.5, "Interrogate: deepbooru score threshold", gr.Slider, {"minimum": 0, "maximum": 1, "step": 0.01}),
"deepbooru_sort_alpha": OptionInfo(True, "Interrogate: deepbooru sort alphabetically"),
+ "deepbooru_use_spaces": OptionInfo(False, "use spaces for tags in deepbooru"),
+ "deepbooru_escape": OptionInfo(True, "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)"),
}))
options_templates.update(options_section(('ui', "User interface"), {