Fixes missing postprocessed image metadata before refresh

This commit is contained in:
psychedelicious 2022-11-22 16:11:22 +11:00 committed by blessedcoolant
parent 2fcc7d9b36
commit 0060551490

View File

@ -663,8 +663,8 @@ class InvokeAIWebServer:
"url": self.get_url_from_image_path(path),
"thumbnail": self.get_url_from_image_path(thumbnail_path),
"mtime": os.path.getmtime(path),
"metadata": metadata.get("sd-metadata"),
"dreamPrompt": metadata.get("Dream"),
"metadata": metadata,
"dreamPrompt": command,
"width": width,
"height": height,
},