aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
diff options
context:
space:
mode:
authorJustAnOkapi <justanokapi@gmail.com>2022-09-13 20:28:03 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-14 05:58:13 +0000
commitf9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c (patch)
tree264af5b87eddb113871f3938f876d2b897db4bd0 /modules/processing.py
parente73e2ce2fd8f5ae86d965d94f39087bd09f0b690 (diff)
downloadstable-diffusion-webui-gfx803-f9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c.tar.gz
stable-diffusion-webui-gfx803-f9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c.tar.bz2
stable-diffusion-webui-gfx803-f9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c.zip
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 'modules/processing.py')
-rw-r--r--modules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index f33560ee..ef25d43d 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -321,7 +321,7 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
output_images.insert(0, grid)
if opts.grid_save:
- images.save_image(grid, p.outpath_grids, "grid", all_seeds[0], all_prompts[0], opts.grid_format, info=infotext(), short_filename=not opts.grid_extended_filename, p=p)
+ images.save_image(grid, p.outpath_grids, "grid", all_seeds[0], all_prompts[0], opts.grid_format, info=infotext(), short_filename=not opts.grid_extended_filename, grid=True, p=p)
devices.torch_gc()
return Processed(p, output_images, all_seeds[0], infotext())