1 parent 5c4d256 commit 4ef23c3Copy full SHA for 4ef23c3
1 file changed
comfy/ldm/wan/model.py
@@ -821,7 +821,7 @@ def forward_orig(
821
if self.img_emb is not None:
822
context_clip = self.img_emb(clip_fea) # bs x 257 x dim
823
context = torch.concat([context_clip, context], dim=1)
824
- context_img_len = clip_fea.shape[-2]
+ context_img_len = clip_fea.shape[-2]
825
826
# vace blocks are t2v pretrained, they attend over text tokens only
827
if context_img_len is None:
0 commit comments