diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-23 14:41:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-23 14:41:06 +0300 |
commit | 79e7c392989ad70a1c02cbfe6eb38ee5a78bdbce (patch) | |
tree | 412f3d27a348deaa7dc2784a7fe63dde63d14730 /modules/shared.py | |
parent | 03faf2025143a5d789af12c79c057523c43cbd39 (diff) | |
parent | d26d89377bfb47779daec02e888c3c2c931be1f0 (diff) |
Merge pull request #847 from rewbs/rewbs-optionally-save-before-color-correction
Add option to save before color correction. This helps with some posterisation issues in img2img loopback.
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 39681ed0..0978f3f6 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -187,6 +187,7 @@ options_templates.update(options_section(('system', "System"), { options_templates.update(options_section(('sd', "Stable Diffusion"), {
"sd_model_checkpoint": OptionInfo(None, "Stable Diffusion checkpoint", gr.Radio, lambda: {"choices": [x.title for x in modules.sd_models.checkpoints_list.values()]}),
"img2img_color_correction": OptionInfo(False, "Apply color correction to img2img results to match original colors."),
+ "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"),
|