We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ad87f3 commit bf229afCopy full SHA for bf229af
src/diffusers/pipelines/kandinsky5/pipeline_kandinsky.py
@@ -756,7 +756,7 @@ def __call__(
756
if self.do_classifier_free_guidance and negative_prompt_embeds_dict is not None:
757
uncond_pred_velocity = self.transformer(
758
hidden_states=latents.to(dtype),
759
- encoder_hidden_states=negative_prompt_embeds_dict["text_embeds"].to(dtype),
+ encoder_hidden_states=negative_prompt_embeds_qwen.to(dtype),
760
pooled_projections=negative_prompt_embeds_dict["pooled_embed"].to(dtype),
761
timestep=timestep.to(dtype),
762
visual_rope_pos=visual_rope_pos,
0 commit comments