mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(nodes): fix hrf_enabled metadata item
It was a float but should be a bool
This commit is contained in:
parent
16e990b6e6
commit
cc747c066c
@ -112,7 +112,7 @@ GENERATION_MODES = Literal[
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@invocation("core_metadata", title="Core Metadata", tags=["metadata"], category="metadata", version="1.0.0")
|
@invocation("core_metadata", title="Core Metadata", tags=["metadata"], category="metadata", version="1.0.1")
|
||||||
class CoreMetadataInvocation(BaseInvocation):
|
class CoreMetadataInvocation(BaseInvocation):
|
||||||
"""Collects core generation metadata into a MetadataField"""
|
"""Collects core generation metadata into a MetadataField"""
|
||||||
|
|
||||||
@ -160,7 +160,7 @@ class CoreMetadataInvocation(BaseInvocation):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# High resolution fix metadata.
|
# High resolution fix metadata.
|
||||||
hrf_enabled: Optional[float] = InputField(
|
hrf_enabled: Optional[bool] = InputField(
|
||||||
default=None,
|
default=None,
|
||||||
description="Whether or not high resolution fix was enabled.",
|
description="Whether or not high resolution fix was enabled.",
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user