mirror of
https://github.com/invoke-ai/InvokeAI
synced 2025-07-25 04:51:07 +00:00
fix(nodes): fix image_type in ImageField
This commit is contained in:
@ -12,7 +12,7 @@ class ImageType(str, Enum):
|
|||||||
class ImageField(BaseModel):
|
class ImageField(BaseModel):
|
||||||
"""An image field used for passing image objects between invocations"""
|
"""An image field used for passing image objects between invocations"""
|
||||||
|
|
||||||
image_type: str = Field(
|
image_type: ImageType = Field(
|
||||||
default=ImageType.RESULT, description="The type of the image"
|
default=ImageType.RESULT, description="The type of the image"
|
||||||
)
|
)
|
||||||
image_name: Optional[str] = Field(default=None, description="The name of the image")
|
image_name: Optional[str] = Field(default=None, description="The name of the image")
|
||||||
|
Reference in New Issue
Block a user