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 9572412 commit 4674e73Copy full SHA for 4674e73
src/diffusers/pipelines/flux/pipeline_flux.py
@@ -790,6 +790,9 @@ def __call__(
790
lora_scale = (
791
self.joint_attention_kwargs.get("scale", None) if self.joint_attention_kwargs is not None else None
792
)
793
+ # should this not be like the following?
794
+ # has_neg_prompt = negative_prompt is not None or (negative_prompt_embeds is not None and negative_pooled_prompt_embeds is not None)
795
+ # do_true_cfg = true_cfg_scale > 1 and has_neg_prompt
796
do_true_cfg = true_cfg_scale > 1 and negative_prompt is not None
797
(
798
prompt_embeds,
0 commit comments