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:
@ -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"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user