only set loopback color corrections if corrections enabled

This commit is contained in:
Brian Drupieski 2022-09-17 18:20:43 -04:00
parent cf70528bce
commit 2dbc9c5903

View File

@ -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}"