Skip to content

Commit

Permalink
Add more animatediff compatible fields (#2878)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored May 10, 2024
1 parent 85c7310 commit b30f0ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal_controlnet/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ def parse_ipadapter_input(cls, value) -> Optional[List[torch.Tensor]]:
# TODO: Find a better way in AnimateDiff to deal with these extra fields.
batch_mask_dir: Optional[str] = None
animatediff_batch: bool = False
batch_modifiers: list = []
batch_image_files: list = []

@property
def accepts_multiple_inputs(self) -> bool:
Expand Down

0 comments on commit b30f0ac

Please sign in to comment.