aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/outpainting_mk_2.py
diff options
context:
space:
mode:
authorwywywywy <wywywywy@gmail.com>2023-04-01 09:39:50 +0000
committerwywywywy <wywywywy@gmail.com>2023-04-01 09:39:50 +0000
commit9dc722bcf27d6d2cd9f275df4f2aae23f58c1122 (patch)
treeffc618ddc924ede86302f4142ad412b034d1a62e /scripts/outpainting_mk_2.py
parent22bcc7be428c94e9408f589966c2040187245d81 (diff)
downloadstable-diffusion-webui-gfx803-9dc722bcf27d6d2cd9f275df4f2aae23f58c1122.tar.gz
stable-diffusion-webui-gfx803-9dc722bcf27d6d2cd9f275df4f2aae23f58c1122.tar.bz2
stable-diffusion-webui-gfx803-9dc722bcf27d6d2cd9f275df4f2aae23f58c1122.zip
bug: outpaint-mk2 use sample file format not grid
Diffstat (limited to 'scripts/outpainting_mk_2.py')
-rw-r--r--scripts/outpainting_mk_2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/outpainting_mk_2.py b/scripts/outpainting_mk_2.py
index 0906da6a..670bb8ac 100644
--- a/scripts/outpainting_mk_2.py
+++ b/scripts/outpainting_mk_2.py
@@ -275,7 +275,7 @@ class Script(scripts.Script):
if opts.samples_save:
for img in all_processed_images:
- images.save_image(img, p.outpath_samples, "", res.seed, p.prompt, opts.grid_format, info=res.info, p=p)
+ images.save_image(img, p.outpath_samples, "", res.seed, p.prompt, opts.samples_format, info=res.info, p=p)
if opts.grid_save and not unwanted_grid_because_of_img_count:
images.save_image(combined_grid_image, p.outpath_grids, "grid", res.seed, p.prompt, opts.grid_format, info=res.info, short_filename=not opts.grid_extended_filename, grid=True, p=p)