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):