Skip to content

Commit 06afd9b

Browse files
leffffyiyixuxu
andauthored
Update src/diffusers/pipelines/kandinsky5/pipeline_kandinsky.py
Co-authored-by: YiYi Xu <[email protected]>
1 parent bf229af commit 06afd9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/kandinsky5/pipeline_kandinsky.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ def __call__(
757757
uncond_pred_velocity = self.transformer(
758758
hidden_states=latents.to(dtype),
759759
encoder_hidden_states=negative_prompt_embeds_qwen.to(dtype),
760-
pooled_projections=negative_prompt_embeds_dict["pooled_embed"].to(dtype),
760+
pooled_projections=negative_prompt_embeds_clip.to(dtype),
761761
timestep=timestep.to(dtype),
762762
visual_rope_pos=visual_rope_pos,
763763
text_rope_pos=negative_text_rope_pos,

0 commit comments

Comments
 (0)