Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,6 +58,7 @@ from ltx_core.model.upsampler import upsample_video
|
|
| 58 |
from ltx_core.model.video_vae import decode_video as vae_decode_video
|
| 59 |
from ltx_core.types import Audio, AudioLatentShape, VideoPixelShape
|
| 60 |
from ltx_pipelines.ic_lora import ICLoraPipeline
|
|
|
|
| 61 |
from ltx_pipelines.utils import cleanup_memory, denoise_audio_video, encode_prompts, euler_denoising_loop, simple_denoising_func
|
| 62 |
from ltx_pipelines.utils.args import ImageConditioningInput
|
| 63 |
from ltx_pipelines.utils.constants import DISTILLED_SIGMA_VALUES, STAGE_2_DISTILLED_SIGMA_VALUES
|
|
@@ -276,7 +277,7 @@ class AudioConditionedICLoraPipeline(ICLoraPipeline):
|
|
| 276 |
)
|
| 277 |
|
| 278 |
stage_2_output_shape = VideoPixelShape(batch=1, frames=num_frames, width=width, height=height, fps=frame_rate)
|
| 279 |
-
stage_2_conditionings =
|
| 280 |
images=images,
|
| 281 |
#video_conditioning=video_conditioning,
|
| 282 |
height=stage_2_output_shape.height,
|
|
|
|
| 58 |
from ltx_core.model.video_vae import decode_video as vae_decode_video
|
| 59 |
from ltx_core.types import Audio, AudioLatentShape, VideoPixelShape
|
| 60 |
from ltx_pipelines.ic_lora import ICLoraPipeline
|
| 61 |
+
from ltx_pipelines.utils.helpers import combined_image_conditionings
|
| 62 |
from ltx_pipelines.utils import cleanup_memory, denoise_audio_video, encode_prompts, euler_denoising_loop, simple_denoising_func
|
| 63 |
from ltx_pipelines.utils.args import ImageConditioningInput
|
| 64 |
from ltx_pipelines.utils.constants import DISTILLED_SIGMA_VALUES, STAGE_2_DISTILLED_SIGMA_VALUES
|
|
|
|
| 277 |
)
|
| 278 |
|
| 279 |
stage_2_output_shape = VideoPixelShape(batch=1, frames=num_frames, width=width, height=height, fps=frame_rate)
|
| 280 |
+
stage_2_conditionings = combined_image_conditionings(
|
| 281 |
images=images,
|
| 282 |
#video_conditioning=video_conditioning,
|
| 283 |
height=stage_2_output_shape.height,
|