Skip to content

Commit bc7a833

Browse files
committed
up
1 parent d710e59 commit bc7a833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/wan/pipeline_wan_i2v.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ def __call__(
675675
negative_prompt_embeds = negative_prompt_embeds.to(transformer_dtype)
676676

677677
# only wan 2.1 i2v transformer accepts image_embeds
678-
if self.transformer is not None and self.transformer.config.added_kv_proj_dim is not None:
678+
if self.transformer is not None and self.transformer.config.image_dim is not None:
679679
if image_embeds is None:
680680
if last_image is None:
681681
image_embeds = self.encode_image(image, device)

0 commit comments

Comments
 (0)