Skip to content

Commit d2b4881

Browse files
linoytsabanhlky
andauthored
Update src/diffusers/pipelines/flux/pipeline_flux_prior_redux.py
Co-authored-by: hlky <[email protected]>
1 parent 34715b1 commit d2b4881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/flux/pipeline_flux_prior_redux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def __call__(
462462
# pooled_prompt_embeds is 768, clip text encoder hidden size
463463
pooled_prompt_embeds = torch.zeros((batch_size, 768), device=device, dtype=image_embeds.dtype)
464464

465-
# scale & oncatenate image and text embeddings
465+
# scale & concatenate image and text embeddings
466466
prompt_embeds = torch.cat([prompt_embeds, image_embeds], dim=1)
467467

468468
prompt_embeds *= torch.tensor(prompt_embeds_scale, device=device, dtype=image_embeds.dtype)[:, None, None]

0 commit comments

Comments
 (0)