mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-14 22:53:25 +03:00
only set loopback color corrections if corrections enabled
This commit is contained in:
parent
cf70528bce
commit
2dbc9c5903
@ -49,6 +49,8 @@ class Script(scripts.Script):
|
||||
p.n_iter = 1
|
||||
p.batch_size = 1
|
||||
p.do_not_save_grid = True
|
||||
|
||||
if opts.img2img_color_correction:
|
||||
p.color_corrections = initial_color_corrections
|
||||
|
||||
state.job = f"Iteration {i + 1}/{loops}, batch {n + 1}/{batch_count}"
|
||||
|
Loading…
Reference in New Issue
Block a user