diff options
-rw-r--r-- | scripts/xy_grid.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py index 07040886..a8f53bef 100644 --- a/scripts/xy_grid.py +++ b/scripts/xy_grid.py @@ -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):
- modules.processing.fix_seed(p)
+ if not no_fixed_seeds:
+ modules.processing.fix_seed(p)
+
p.batch_size = 1
initial_hn = opts.sd_hypernetwork
|