diff options
author | Robin Fernandes <robin@soal.org> | 2022-09-22 10:54:50 +0000 |
---|---|---|
committer | Robin Fernandes <robin@soal.org> | 2022-09-22 10:54:50 +0000 |
commit | 25eb1e3d9072a060a253abce6889e7fef440dfe1 (patch) | |
tree | 30f8373b783d199ec7182efa646e0ead2bc79492 /modules/shared.py | |
parent | 3582befdcd779e674855e58d63b06711ef6989bf (diff) | |
download | stable-diffusion-webui-gfx803-25eb1e3d9072a060a253abce6889e7fef440dfe1.tar.gz stable-diffusion-webui-gfx803-25eb1e3d9072a060a253abce6889e7fef440dfe1.tar.bz2 stable-diffusion-webui-gfx803-25eb1e3d9072a060a253abce6889e7fef440dfe1.zip |
Add option to save before color correction. Add suffix param when saving files, used for special saves without color correction and face restoration.
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 841a9877..0b57685e 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -139,6 +139,7 @@ class Options: "enable_pnginfo": OptionInfo(True, "Save text information about generation parameters as chunks to png files"),
"add_model_hash_to_info": OptionInfo(False, "Add model hash to generation information"),
"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."),
"font": OptionInfo("", "Font for image grids that have text"),
|