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,7 +49,9 @@ class Script(scripts.Script):
|
|||||||
p.n_iter = 1
|
p.n_iter = 1
|
||||||
p.batch_size = 1
|
p.batch_size = 1
|
||||||
p.do_not_save_grid = True
|
p.do_not_save_grid = True
|
||||||
p.color_corrections = initial_color_corrections
|
|
||||||
|
if opts.img2img_color_correction:
|
||||||
|
p.color_corrections = initial_color_corrections
|
||||||
|
|
||||||
state.job = f"Iteration {i + 1}/{loops}, batch {n + 1}/{batch_count}"
|
state.job = f"Iteration {i + 1}/{loops}, batch {n + 1}/{batch_count}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user