From 2c39557dc9e16470ae179c5dd5a541f1db9f09d3 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 17 Oct 2023 14:28:29 +1100 Subject: [PATCH] fix(nodes): fix metadata validation error --- invokeai/app/invocations/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/invocations/metadata.py b/invokeai/app/invocations/metadata.py index 9578fc3ae9..4d76926aaa 100644 --- a/invokeai/app/invocations/metadata.py +++ b/invokeai/app/invocations/metadata.py @@ -48,7 +48,7 @@ class CoreMetadata(BaseModelExcludeNull): default=None, description="The generation mode that output this image", ) - created_by: Optional[str] = Field(description="The name of the creator of the image") + created_by: Optional[str] = Field(default=None, description="The name of the creator of the image") positive_prompt: Optional[str] = Field(default=None, description="The positive prompt parameter") negative_prompt: Optional[str] = Field(default=None, description="The negative prompt parameter") width: Optional[int] = Field(default=None, description="The width parameter")