Add batch_keyframe_idx on ControlNetUnit (#2926)
batch_keyframe_idx is needed by AnimateDiff for SparseCtrlpull/2933/head
parent
92e4b12a73
commit
ba3984a022
|
|
@ -228,6 +228,7 @@ class ControlNetUnit(BaseModel):
|
||||||
animatediff_batch: bool = False
|
animatediff_batch: bool = False
|
||||||
batch_modifiers: list = []
|
batch_modifiers: list = []
|
||||||
batch_image_files: list = []
|
batch_image_files: list = []
|
||||||
|
batch_keyframe_idx: Optional[str|list] = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def accepts_multiple_inputs(self) -> bool:
|
def accepts_multiple_inputs(self) -> bool:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue