mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(api): downgrade metadata parse warnings to debug
I set these to warn during testing and neglected to undo the change.
This commit is contained in:
parent
af64764082
commit
88025d32c2
@ -69,7 +69,7 @@ async def upload_image(
|
|||||||
if isinstance(metadata_raw, str):
|
if isinstance(metadata_raw, str):
|
||||||
_metadata = metadata_raw
|
_metadata = metadata_raw
|
||||||
else:
|
else:
|
||||||
ApiDependencies.invoker.services.logger.warn("Failed to parse metadata for uploaded image")
|
ApiDependencies.invoker.services.logger.debug("Failed to parse metadata for uploaded image")
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# attempt to parse workflow from image
|
# attempt to parse workflow from image
|
||||||
@ -77,7 +77,7 @@ async def upload_image(
|
|||||||
if isinstance(workflow_raw, str):
|
if isinstance(workflow_raw, str):
|
||||||
_workflow = workflow_raw
|
_workflow = workflow_raw
|
||||||
else:
|
else:
|
||||||
ApiDependencies.invoker.services.logger.warn("Failed to parse workflow for uploaded image")
|
ApiDependencies.invoker.services.logger.debug("Failed to parse workflow for uploaded image")
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# attempt to extract graph from image
|
# attempt to extract graph from image
|
||||||
@ -85,7 +85,7 @@ async def upload_image(
|
|||||||
if isinstance(graph_raw, str):
|
if isinstance(graph_raw, str):
|
||||||
_graph = graph_raw
|
_graph = graph_raw
|
||||||
else:
|
else:
|
||||||
ApiDependencies.invoker.services.logger.warn("Failed to parse graph for uploaded image")
|
ApiDependencies.invoker.services.logger.debug("Failed to parse graph for uploaded image")
|
||||||
pass
|
pass
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user