diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-11-02 09:45:03 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-11-02 09:45:03 +0000 |
commit | eb5e82c7ddf5e72fa13b83bd1f12d3a07a4de1a4 (patch) | |
tree | 3fdea81dfaba9a4e2350fbcc9b41a13a5ad362a4 /modules/shared.py | |
parent | 9c67408004ed132637d10321bf44565f82055fd2 (diff) | |
download | stable-diffusion-webui-gfx803-eb5e82c7ddf5e72fa13b83bd1f12d3a07a4de1a4.tar.gz stable-diffusion-webui-gfx803-eb5e82c7ddf5e72fa13b83bd1f12d3a07a4de1a4.tar.bz2 stable-diffusion-webui-gfx803-eb5e82c7ddf5e72fa13b83bd1f12d3a07a4de1a4.zip |
do not unnecessarily run VAE one more time when saving intermediate image with hires fix
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index ce991424..01f47e38 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -256,6 +256,7 @@ options_templates.update(options_section(('saving-images', "Saving images/grids" "save_txt": OptionInfo(False, "Create a text file next to every image with generation parameters."),
"save_images_before_face_restoration": OptionInfo(False, "Save a copy of image before doing face restoration."),
"save_images_before_highres_fix": OptionInfo(False, "Save a copy of image before applying highres fix."),
+ "save_images_before_color_correction": OptionInfo(False, "Save a copy of image before applying color correction to img2img results"),
"jpeg_quality": OptionInfo(80, "Quality for saved jpeg images", gr.Slider, {"minimum": 1, "maximum": 100, "step": 1}),
"export_for_4chan": OptionInfo(True, "If PNG image is larger than 4MB or any dimension is larger than 4000, downscale and save copy as JPG"),
@@ -322,7 +323,6 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), { "sd_hypernetwork_strength": OptionInfo(1.0, "Hypernetwork strength", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.001}),
"inpainting_mask_weight": OptionInfo(1.0, "Inpainting conditioning mask strength", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
"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, "Emphasis: use (text) to make model pay more attention to text and [text] to make it pay less attention"),
|