mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add optional field to type
This commit is contained in:
parent
7f6fdf5d39
commit
e6fd1c3d1f
@ -32,6 +32,7 @@ class CoreMetadata(BaseModelExcludeNull):
|
|||||||
generation_mode: str = Field(
|
generation_mode: str = Field(
|
||||||
description="The generation mode that output this image",
|
description="The generation mode that output this image",
|
||||||
)
|
)
|
||||||
|
created_by: Optional[str] = Field(description="The name of the creator of the image")
|
||||||
positive_prompt: str = Field(description="The positive prompt parameter")
|
positive_prompt: str = Field(description="The positive prompt parameter")
|
||||||
negative_prompt: str = Field(description="The negative prompt parameter")
|
negative_prompt: str = Field(description="The negative prompt parameter")
|
||||||
width: int = Field(description="The width parameter")
|
width: int = Field(description="The width parameter")
|
||||||
|
Loading…
Reference in New Issue
Block a user