mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes missing postprocessed image metadata before refresh
This commit is contained in:
parent
2fcc7d9b36
commit
0060551490
@ -663,8 +663,8 @@ class InvokeAIWebServer:
|
|||||||
"url": self.get_url_from_image_path(path),
|
"url": self.get_url_from_image_path(path),
|
||||||
"thumbnail": self.get_url_from_image_path(thumbnail_path),
|
"thumbnail": self.get_url_from_image_path(thumbnail_path),
|
||||||
"mtime": os.path.getmtime(path),
|
"mtime": os.path.getmtime(path),
|
||||||
"metadata": metadata.get("sd-metadata"),
|
"metadata": metadata,
|
||||||
"dreamPrompt": metadata.get("Dream"),
|
"dreamPrompt": command,
|
||||||
"width": width,
|
"width": width,
|
||||||
"height": height,
|
"height": height,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user