mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes: unable to postprocess uploaded image "metadata" error
This commit is contained in:
parent
ac1469bbd3
commit
7a4e358d53
@ -336,7 +336,7 @@ class InvokeAIWebServer:
|
||||
|
||||
seed = (
|
||||
original_image["metadata"]["seed"]
|
||||
if "seed" in original_image["metadata"]
|
||||
if "metadata" in original_image and "seed" in original_image["metadata"]
|
||||
else "unknown_seed"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user