mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-26 11:52:42 -08:00
Merge pull request #625 from bdrupieski/fix-batch-processing-color-correction
fix batch color correction
This commit is contained in:
commit
e9a9764e00
2 changed files with 6 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue