Skip to content

Commit 4c0ab6a

Browse files
committed
lint
1 parent c53cd1b commit 4c0ab6a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/maxdiffusion/pipelines/ltx2/ltx2_pipeline.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,8 @@ def encode_prompt(
878878

879879
if prompt is not None and type(prompt) is not type(negative_prompt):
880880
raise TypeError(
881-
f"`negative_prompt` should be the same type to `prompt`, but got {type(negative_prompt)} !=" f" {type(prompt)}."
881+
f"`negative_prompt` should be the same type to `prompt`, but got {type(negative_prompt)} !="
882+
f" {type(prompt)}."
882883
)
883884

884885
negative_prompt_embeds, negative_prompt_attention_mask = self._get_gemma_prompt_embeds(

0 commit comments

Comments
 (0)