diff options
author | timntorres <116157310+timntorres@users.noreply.github.com> | 2022-11-02 09:18:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 09:18:21 +0000 |
commit | 9c67408004ed132637d10321bf44565f82055fd2 (patch) | |
tree | 2cf1cf92928cbb3de02f511d35e5ba1f1146a927 /modules/shared.py | |
parent | 4a8cf01f6f7f072cc9c67d6b31662384b212dd9c (diff) | |
download | stable-diffusion-webui-gfx803-9c67408004ed132637d10321bf44565f82055fd2.tar.gz stable-diffusion-webui-gfx803-9c67408004ed132637d10321bf44565f82055fd2.tar.bz2 stable-diffusion-webui-gfx803-9c67408004ed132637d10321bf44565f82055fd2.zip |
Allow saving "before-highres-fix. (#4150)
* Save image/s before doing highres fix.
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 e65f6080..ce991424 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -255,6 +255,7 @@ options_templates.update(options_section(('saving-images', "Saving images/grids" "enable_pnginfo": OptionInfo(True, "Save text information about generation parameters as chunks to png files"),
"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."),
"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"),
|