aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-29 08:31:48 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-29 08:31:48 +0000
commitc1c27dad3ba371a5ae344b267c760aa51e77f193 (patch)
tree015617002c0a7660af6d97d96e560c1ca9b82030 /modules/shared.py
parent29ce8a687df4143f4fd7f5e22de7fb4c6baa1392 (diff)
downloadstable-diffusion-webui-gfx803-c1c27dad3ba371a5ae344b267c760aa51e77f193.tar.gz
stable-diffusion-webui-gfx803-c1c27dad3ba371a5ae344b267c760aa51e77f193.tar.bz2
stable-diffusion-webui-gfx803-c1c27dad3ba371a5ae344b267c760aa51e77f193.zip
new implementation for attention/emphasis
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index ec1e569b..f88c2b02 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -195,7 +195,8 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), {
"save_images_before_color_correction": OptionInfo(False, "Save a copy of image before applying color correction to img2img results"),
"img2img_fix_steps": OptionInfo(False, "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising)."),
"enable_quantization": OptionInfo(False, "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply."),
- "enable_emphasis": OptionInfo(True, "Use (text) to make model pay more attention to text and [text] to make it pay less attention"),
+ "enable_emphasis": OptionInfo(True, "Eemphasis: 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"),
"filter_nsfw": OptionInfo(False, "Filter NSFW content"),
"random_artist_categories": OptionInfo([], "Allowed categories for random artists selection when using the Roll button", gr.CheckboxGroup, {"choices": artist_db.categories()}),