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 49a4c8b commit 3fe4ad6Copy full SHA for 3fe4ad6
src/diffusers/pipelines/chroma/pipeline_chroma.py
@@ -673,7 +673,7 @@ def __call__(
673
elif negative_prompt is not None and isinstance(negative_prompt, list):
674
if len(negative_prompt) == 1:
675
negative_prompt = [negative_prompt] * batch_size
676
- else:
+ elif len(prompt) != len(negative_prompt):
677
raise ValueError("prompt and negative_prompt are lists of unequal size")
678
else:
679
batch_size = prompt_embeds.shape[0]
0 commit comments