diff options
author | JustAnOkapi <justanokapi@gmail.com> | 2022-09-13 20:28:03 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-14 05:58:13 +0000 |
commit | f9f9d04b5fa9ffb6e0462fa691aee8fcc1bb733c (patch) | |
tree | 264af5b87eddb113871f3938f876d2b897db4bd0 /scripts/prompt_matrix.py | |
parent | e73e2ce2fd8f5ae86d965d94f39087bd09f0b690 (diff) | |
download | stable-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 'scripts/prompt_matrix.py')
-rw-r--r-- | scripts/prompt_matrix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prompt_matrix.py b/scripts/prompt_matrix.py index aaece054..e49c9b20 100644 --- a/scripts/prompt_matrix.py +++ b/scripts/prompt_matrix.py @@ -82,6 +82,6 @@ class Script(scripts.Script): processed.images.insert(0, grid)
if opts.grid_save:
- images.save_image(processed.images[0], p.outpath_grids, "prompt_matrix", prompt=original_prompt, seed=processed.seed, p=p)
+ images.save_image(processed.images[0], p.outpath_grids, "prompt_matrix", prompt=original_prompt, seed=processed.seed, grid=True, p=p)
return processed
|