We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c53cd1b commit 4c0ab6aCopy full SHA for 4c0ab6a
1 file changed
src/maxdiffusion/pipelines/ltx2/ltx2_pipeline.py
@@ -878,7 +878,8 @@ def encode_prompt(
878
879
if prompt is not None and type(prompt) is not type(negative_prompt):
880
raise TypeError(
881
- f"`negative_prompt` should be the same type to `prompt`, but got {type(negative_prompt)} !=" f" {type(prompt)}."
+ f"`negative_prompt` should be the same type to `prompt`, but got {type(negative_prompt)} !="
882
+ f" {type(prompt)}."
883
)
884
885
negative_prompt_embeds, negative_prompt_attention_mask = self._get_gemma_prompt_embeds(
0 commit comments