Commit f2cc3f32 authored by Vladimir Repin's avatar Vladimir Repin Committed by AUTOMATIC1111

fix whitespaces

parent 97419693
......@@ -460,7 +460,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
devices.torch_gc()
image = Image.fromarray(x_sample)
if p.color_corrections is not None and i < len(p.color_corrections):
if opts.save and not p.do_not_save_samples and opts.save_images_before_color_correction:
image_without_cc = apply_overlay(p.overlay_images is not None and i < len(p.overlay_images), p.overlay_images[i], p.paste_to, image)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment