diff options
author | alg-wiki <47810160+alg-wiki@users.noreply.github.com> | 2022-10-10 19:35:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 19:35:28 +0000 |
commit | f0ab972f85b4a185e7ff74b6f325835f1135deff (patch) | |
tree | 1719b7d8019c44aa55d51432d708ce8c9ca325d3 /scripts/xy_grid.py | |
parent | bc3e183b739913e7be91213a256f038b10eb71e9 (diff) | |
parent | 5da1ba0e91a81804dc911d34c9a2e6956a23199c (diff) | |
download | stable-diffusion-webui-gfx803-f0ab972f85b4a185e7ff74b6f325835f1135deff.tar.gz stable-diffusion-webui-gfx803-f0ab972f85b4a185e7ff74b6f325835f1135deff.tar.bz2 stable-diffusion-webui-gfx803-f0ab972f85b4a185e7ff74b6f325835f1135deff.zip |
Merge branch 'master' into textual__inversion
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r-- | scripts/xy_grid.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py index 771eb8e4..42e1489c 100644 --- a/scripts/xy_grid.py +++ b/scripts/xy_grid.py @@ -205,7 +205,10 @@ class Script(scripts.Script): if not no_fixed_seeds:
modules.processing.fix_seed(p)
- p.batch_size = 1
+ if not opts.return_grid:
+ p.batch_size = 1
+
+
CLIP_stop_at_last_layers = opts.CLIP_stop_at_last_layers
def process_axis(opt, vals):
|