diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-13 09:51:57 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-13 09:51:57 +0000 |
commit | c84e333622883be7f1c2efa08259d36d27cadec7 (patch) | |
tree | d80d3405323feaca727a82f33ddee7f3fbe06ee4 /modules/shared.py | |
parent | 823cf946ec61896915850d2b1096637ee42b775d (diff) | |
download | stable-diffusion-webui-gfx803-c84e333622883be7f1c2efa08259d36d27cadec7.tar.gz stable-diffusion-webui-gfx803-c84e333622883be7f1c2efa08259d36d27cadec7.tar.bz2 stable-diffusion-webui-gfx803-c84e333622883be7f1c2efa08259d36d27cadec7.zip |
color correction option for all img2img modes #363
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 fd6b7fb4..594712d4 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -122,6 +122,7 @@ class Options: "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"),
"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(True, "Apply color correction to img2img results to match original colors."),
"font": OptionInfo("", "Font for image grids that have text"),
"enable_emphasis": OptionInfo(True, "Use (text) to make model pay more attention to text text and [text] to make it pay less attention"),
"save_txt": OptionInfo(False, "Create a text file next to every image with generation parameters."),
|