bug: outpaint-mk2 use sample file format not grid

This commit is contained in:
wywywywy 2023-04-01 10:39:50 +01:00
parent 22bcc7be42
commit 9dc722bcf2

View File

@ -275,7 +275,7 @@ class Script(scripts.Script):
if opts.samples_save: if opts.samples_save:
for img in all_processed_images: 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: 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) 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)