diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-18 04:31:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 04:31:01 +0000 |
commit | e9a9764e002158e943ca519da4e7e476cc50810d (patch) | |
tree | ed35e82b2c797495ca4dbccc7921080181a838a9 /modules/processing.py | |
parent | c57ae054e9fafcea0567c4a00765b805dbc38ec3 (diff) | |
parent | 2dbc9c5903cd2788f4ef21fe8ebfdd8e62f642cb (diff) | |
download | stable-diffusion-webui-gfx803-e9a9764e002158e943ca519da4e7e476cc50810d.tar.gz stable-diffusion-webui-gfx803-e9a9764e002158e943ca519da4e7e476cc50810d.tar.bz2 stable-diffusion-webui-gfx803-e9a9764e002158e943ca519da4e7e476cc50810d.zip |
Merge pull request #625 from bdrupieski/fix-batch-processing-color-correction
fix batch color correction
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/processing.py b/modules/processing.py index 6a99d383..a60dec24 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -339,6 +339,8 @@ def process_images(p: StableDiffusionProcessing) -> Processed: state.nextjob()
+ p.color_corrections = None
+
unwanted_grid_because_of_img_count = len(output_images) < 2 and opts.grid_only_if_multiple
if (opts.return_grid or opts.grid_save) and not p.do_not_save_grid and not unwanted_grid_because_of_img_count:
grid = images.image_grid(output_images, p.batch_size)
|