mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-22 07:41:32 -08:00
fix loopback color correction to store color_correction info for initial image and use that instead of extracting from previous image in a loop #481 #541
This commit is contained in:
parent
3763837003
commit
b153ebe3b6
2 changed files with 7 additions and 2 deletions
|
|
@ -40,6 +40,9 @@ class Script(scripts.Script):
|
|||
all_images = []
|
||||
state.job_count = loops * batch_count
|
||||
|
||||
if opts.img2img_color_correction:
|
||||
p.color_corrections = [processing.setup_color_correction(p.init_images[0])]
|
||||
|
||||
for n in range(batch_count):
|
||||
history = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue