Skip to content

Commit 10d4f73

Browse files
committed
adding parity test file
1 parent 3132bc2 commit 10d4f73

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

parity_ltx2_maxdiffusion.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def main():
135135
prompt = ", ".join(str(p) for p in prompt)
136136
else:
137137
prompt = str(prompt)
138+
prompt = [prompt] # Pass as list to avoid pipeline encode_prompt type validation bug
138139

139140
negative_prompt = getattr(config, "negative_prompt", "shaky, glitchy, low quality...")
140141
if not isinstance(negative_prompt, str):
@@ -143,6 +144,7 @@ def main():
143144
negative_prompt = ", ".join(str(p) for p in negative_prompt)
144145
else:
145146
negative_prompt = str(negative_prompt)
147+
negative_prompt = [negative_prompt] # Pass as list to avoid pipeline encode_prompt type validation bug
146148
height = getattr(config, "height", 512)
147149
width = getattr(config, "width", 768)
148150
num_frames = getattr(config, "num_frames", 121)

0 commit comments

Comments
 (0)