diff options
author | RnDMonkey <ryandrutledge@gmail.com> | 2022-10-12 23:35:36 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-14 19:02:21 +0000 |
commit | 02382f7ce462a360e8aea9ee3178da48b564f70a (patch) | |
tree | 4c081327e24272430ee68d9d39f73dfd76b47236 /scripts/xy_grid.py | |
parent | 9b75ab144f5fa3669166374dacd5ffc340984078 (diff) | |
download | stable-diffusion-webui-gfx803-02382f7ce462a360e8aea9ee3178da48b564f70a.tar.gz stable-diffusion-webui-gfx803-02382f7ce462a360e8aea9ee3178da48b564f70a.tar.bz2 stable-diffusion-webui-gfx803-02382f7ce462a360e8aea9ee3178da48b564f70a.zip |
regression in xy_grid Var. seed fixing
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r-- | scripts/xy_grid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py index efb63af5..5700b007 100644 --- a/scripts/xy_grid.py +++ b/scripts/xy_grid.py @@ -338,7 +338,7 @@ class Script(scripts.Script): ys = process_axis(y_opt, y_values)
def fix_axis_seeds(axis_opt, axis_list):
- if axis_opt.label == 'Seed':
+ if axis_opt.label in ['Seed','Var. seed']:
return [int(random.randrange(4294967294)) if val is None or val == '' or val == -1 else val for val in axis_list]
else:
return axis_list
|