Fix args initializer (#2938)

pull/2945/head
Chenlei Hu 2024-05-28 17:16:05 -04:00 committed by GitHub
parent 97c8598c8b
commit c91dbe5c3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -226,8 +226,8 @@ class ControlNetUnit(BaseModel):
# 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