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.
2 parents 589e939 + 3fe4ad6 commit 2b559e9Copy full SHA for 2b559e9
src/diffusers/pipelines/chroma/pipeline_chroma.py
@@ -675,13 +675,6 @@ def __call__(
675
batch_size = 1
676
elif prompt is not None and isinstance(prompt, list):
677
batch_size = len(prompt)
678
- if negative_prompt is not None and isinstance(negative_prompt, str):
679
- negative_prompt = [negative_prompt] * batch_size
680
- elif negative_prompt is not None and isinstance(negative_prompt, list):
681
- if len(negative_prompt) == 1:
682
683
- else:
684
- raise ValueError("prompt and negative_prompt are lists of unequal size")
685
else:
686
batch_size = prompt_embeds.shape[0]
687
0 commit comments