Merge remote-tracking branch 'upstream/development' into development

This commit is contained in:
Peter Baylies
2022-09-19 15:48:22 -04:00
66 changed files with 3884 additions and 3172 deletions

View File

@@ -34,6 +34,7 @@ class PngWriter:
# saves image named _image_ to outdir/name, writing metadata from prompt
# returns full path of output
def save_image_and_prompt_to_png(self, image, dream_prompt, name, metadata=None):
print(f'self.outdir={self.outdir}, name={name}')
path = os.path.join(self.outdir, name)
info = PngImagePlugin.PngInfo()
info.add_text('Dream', dream_prompt)