bug: outpaint-mk2 use sample file format not grid
This commit is contained in:
parent
22bcc7be42
commit
9dc722bcf2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user