diff --git a/internal_controlnet/args.py b/internal_controlnet/args.py index f36448e..28ee442 100644 --- a/internal_controlnet/args.py +++ b/internal_controlnet/args.py @@ -221,6 +221,9 @@ class ControlNetUnit(BaseModel): # The mask to be used on top of the image. mask: Optional[Any] = None + # Backward compatible with animatediff impl. + batch_mask_dir: Optional[str] = None + @property def accepts_multiple_inputs(self) -> bool: """This unit can accept multiple input images."""