aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJC-Array <44535867+JC-Array@users.noreply.github.com>2022-10-10 23:11:02 +0000
committerGitHub <noreply@github.com>2022-10-10 23:11:02 +0000
commitd66bc86159d415005f0745fdb5724bcd95576352 (patch)
tree2544c33a8f443f226c9cf4bea7df7e3a30369812 /scripts
parent76ef3d75f61253516c024553335d9083d9660a8a (diff)
parent47f5e216da2af4b1faf232a620572f8b357855d5 (diff)
downloadstable-diffusion-webui-gfx803-d66bc86159d415005f0745fdb5724bcd95576352.tar.gz
stable-diffusion-webui-gfx803-d66bc86159d415005f0745fdb5724bcd95576352.tar.bz2
stable-diffusion-webui-gfx803-d66bc86159d415005f0745fdb5724bcd95576352.zip
Merge pull request #2 from JC-Array/master
resolve merge conflicts
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xy_grid.py5
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):