AlekseyCalvin commited on
Commit
57f9be9
1 Parent(s): 575de74

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -628,7 +628,7 @@ class FluxWithCFGPipeline(DiffusionPipeline, FluxLoraLoaderMixin, FromSingleFile
628
  return_dict=False,
629
  )[0]
630
  noise_pred_uncond = self.transformer(
631
- hidden_states=latents,
632
  timestep=timestep / 1000,
633
  guidance=guidance,
634
  pooled_projections=negative_pooled_prompt_embeds,
 
628
  return_dict=False,
629
  )[0]
630
  noise_pred_uncond = self.transformer(
631
+ hidden_states=latent_model_input,
632
  timestep=timestep / 1000,
633
  guidance=guidance,
634
  pooled_projections=negative_pooled_prompt_embeds,