Skip to content

Commit dbd7dfc

Browse files
committed
adding parity test file
1 parent 0d54fc3 commit dbd7dfc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

parity_ltx2_maxdiffusion.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,13 @@ def main():
130130
pipe = LTX2Pipeline.from_pretrained(config)
131131

132132
prompt = getattr(config, "prompt", "A man in a brightly lit room...")
133+
if isinstance(prompt, (list, tuple)):
134+
prompt = ", ".join(str(p) for p in prompt)
135+
133136
negative_prompt = getattr(config, "negative_prompt", "shaky, glitchy, low quality...")
137+
if isinstance(negative_prompt, (list, tuple)):
138+
negative_prompt = ", ".join(str(p) for p in negative_prompt)
139+
134140
height = getattr(config, "height", 512)
135141
width = getattr(config, "width", 768)
136142
num_frames = getattr(config, "num_frames", 121)

0 commit comments

Comments
 (0)