Don't change the seed initially if "Keep -1 for seeds" is checked
Fixes #1049
This commit is contained in:
parent
d74c38108f
commit
a65a45272e
|
@ -198,7 +198,9 @@ class Script(scripts.Script):
|
||||||
return [x_type, x_values, y_type, y_values, draw_legend, no_fixed_seeds]
|
return [x_type, x_values, y_type, y_values, draw_legend, no_fixed_seeds]
|
||||||
|
|
||||||
def run(self, p, x_type, x_values, y_type, y_values, draw_legend, no_fixed_seeds):
|
def run(self, p, x_type, x_values, y_type, y_values, draw_legend, no_fixed_seeds):
|
||||||
modules.processing.fix_seed(p)
|
if not no_fixed_seeds:
|
||||||
|
modules.processing.fix_seed(p)
|
||||||
|
|
||||||
p.batch_size = 1
|
p.batch_size = 1
|
||||||
|
|
||||||
initial_hn = opts.sd_hypernetwork
|
initial_hn = opts.sd_hypernetwork
|
||||||
|
|
Loading…
Reference in New Issue
Block a user