Update app.py
Browse files
app.py
CHANGED
|
@@ -192,6 +192,12 @@ class LTX23NegativePromptTwoStagePipeline:
|
|
| 192 |
v_context_p, a_context_p = ctx_p.video_encoding, ctx_p.audio_encoding
|
| 193 |
v_context_n, a_context_n = ctx_n.video_encoding, ctx_n.audio_encoding
|
| 194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
stage_1_output_shape = VideoPixelShape(
|
| 196 |
batch=1, frames=num_frames, width=width // 2, height=height // 2, fps=frame_rate
|
| 197 |
)
|
|
|
|
| 192 |
v_context_p, a_context_p = ctx_p.video_encoding, ctx_p.audio_encoding
|
| 193 |
v_context_n, a_context_n = ctx_n.video_encoding, ctx_n.audio_encoding
|
| 194 |
|
| 195 |
+
if video_guider_params is None:
|
| 196 |
+
video_guider_params = LTX_2_3_HQ_PARAMS.video_guider_params
|
| 197 |
+
|
| 198 |
+
if audio_guider_params is None:
|
| 199 |
+
audio_guider_params = LTX_2_3_HQ_PARAMS.audio_guider_params
|
| 200 |
+
|
| 201 |
stage_1_output_shape = VideoPixelShape(
|
| 202 |
batch=1, frames=num_frames, width=width // 2, height=height // 2, fps=frame_rate
|
| 203 |
)
|