aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorRobin Fernandes <robin@soal.org>2022-09-22 10:54:50 +0000
committerRobin Fernandes <robin@soal.org>2022-09-22 10:54:50 +0000
commit25eb1e3d9072a060a253abce6889e7fef440dfe1 (patch)
tree30f8373b783d199ec7182efa646e0ead2bc79492 /modules/shared.py
parent3582befdcd779e674855e58d63b06711ef6989bf (diff)
downloadstable-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.py1
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"),