Commit a65a4527 authored by Brendan Byrd's avatar Brendan Byrd Committed by AUTOMATIC1111
Browse files

Don't change the seed initially if "Keep -1 for seeds" is checked

Fixes #1049
parent d74c3810
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -198,7 +198,9 @@ class Script(scripts.Script):
        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):
        if not no_fixed_seeds:
            modules.processing.fix_seed(p)

        p.batch_size = 1

        initial_hn = opts.sd_hypernetwork