mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
rename: Inpaint Mask to Denoise Mask
This commit is contained in:
@ -296,21 +296,21 @@ class ImageCollectionInvocation(BaseInvocation):
|
||||
|
||||
# endregion
|
||||
|
||||
# region InpaintMask
|
||||
# region DenoiseMask
|
||||
|
||||
|
||||
class InpaintMaskField(BaseModel):
|
||||
class DenoiseMaskField(BaseModel):
|
||||
"""An inpaint mask field"""
|
||||
|
||||
mask_name: str = Field(description="The name of the mask image")
|
||||
masked_latents_name: Optional[str] = Field(description="The name of the masked image latents")
|
||||
|
||||
|
||||
class InpaintMaskOutput(BaseInvocationOutput):
|
||||
class DenoiseMaskOutput(BaseInvocationOutput):
|
||||
"""Base class for nodes that output a single image"""
|
||||
|
||||
type: Literal["inpaint_mask_output"] = "inpaint_mask_output"
|
||||
inpaint_mask: InpaintMaskField = OutputField(description="Mask for inpaint model run")
|
||||
type: Literal["denoise_mask_output"] = "denoise_mask_output"
|
||||
denoise_mask: DenoiseMaskField = OutputField(description="Mask for denoise model run")
|
||||
|
||||
|
||||
# endregion
|
||||
|
Reference in New Issue
Block a user