Skip to content

Commit

Permalink
Fix args initializer (#2938)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored May 28, 2024
1 parent 97c8598 commit c91dbe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal_controlnet/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +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 = []
batch_modifiers: list = Field(default_factory=list)
batch_image_files: list = Field(default_factory=list)
batch_keyframe_idx: Optional[str | list] = None

@property
Expand Down

0 comments on commit c91dbe5

Please sign in to comment.