aboutsummaryrefslogtreecommitdiff
path: root/scripts/xy_grid.py
diff options
context:
space:
mode:
authorJustAnOkapi <justanokapi@gmail.com>2022-09-13 15:28:03 -0500
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-14 08:58:13 +0300
commitf9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c (patch)
tree264af5b87eddb113871f3938f876d2b897db4bd0 /scripts/xy_grid.py
parente73e2ce2fd8f5ae86d965d94f39087bd09f0b690 (diff)
prevent extras from saving in dir
Extras have none of the vars used in dir names, so they cant be saved into dirs. +grid code cleanup
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r--scripts/xy_grid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py
index dd6db81c..c459c264 100644
--- a/scripts/xy_grid.py
+++ b/scripts/xy_grid.py
@@ -192,6 +192,6 @@ class Script(scripts.Script):
)
if opts.grid_save:
- images.save_image(processed.images[0], p.outpath_grids, "xy_grid", prompt=p.prompt, seed=processed.seed, p=p)
+ images.save_image(processed.images[0], p.outpath_grids, "xy_grid", prompt=p.prompt, seed=processed.seed, grid=True, p=p)
return processed