Skip to content

Commit

Permalink
Extension of outcome image is nowalways png
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki committed Jan 22, 2023
1 parent 903d3db commit 1426fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def run(self, p):
img = im.fromarray(nimg)
mask = im.fromarray(nmask)

images.save_image(mask, p.outpath_samples, "mask_", proc.seed + i, proc.prompt, opts.samples_format, info= proc.info, p=p)
images.save_image(img, p.outpath_samples, "img_", proc.seed + i, proc.prompt, opts.samples_format, info= proc.info, p=p)
images.save_image(mask, p.outpath_samples, "mask_", proc.seed + i, proc.prompt, "png", info= proc.info, p=p)
images.save_image(img, p.outpath_samples, "img_", proc.seed + i, proc.prompt, "png", info= proc.info, p=p)
proc.images.append(mask)
proc.images.append(img)
return proc

0 comments on commit 1426fde

Please sign in to comment.