From 07dde92664dc0e35a4531b7e10e254cb852af041 Mon Sep 17 00:00:00 2001 From: dunkeroni Date: Tue, 20 Feb 2024 21:47:25 -0500 Subject: [PATCH] chore: typing fix --- invokeai/app/invocations/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/invocations/fields.py b/invokeai/app/invocations/fields.py index 7f2d2783f2..712ab415b0 100644 --- a/invokeai/app/invocations/fields.py +++ b/invokeai/app/invocations/fields.py @@ -199,7 +199,7 @@ class DenoiseMaskField(BaseModel): mask_name: str = Field(description="The name of the mask image") masked_latents_name: Optional[str] = Field(default=None, description="The name of the masked image latents") - gradient: Optional[bool] = Field(default=False, description="Used for gradient inpainting") + gradient: bool = Field(default=False, description="Used for gradient inpainting") class LatentsField(BaseModel):