Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ import torch
|
|
4 |
from diffusers import LTXConditionPipeline, LTXLatentUpsamplePipeline
|
5 |
from diffusers.pipelines.ltx.pipeline_ltx_condition import LTXVideoCondition
|
6 |
from diffusers.utils import export_to_video, load_video
|
|
|
|
|
7 |
|
8 |
pipe = LTXConditionPipeline.from_pretrained("linoyts/LTX-Video-0.9.7-distilled-diffusers", torch_dtype=torch.bfloat16)
|
9 |
pipe_upsample = LTXLatentUpsamplePipeline.from_pretrained("a-r-r-o-w/LTX-Video-0.9.7-Latent-Spatial-Upsampler-diffusers", vae=pipe.vae, torch_dtype=torch.bfloat16)
|
|
|
4 |
from diffusers import LTXConditionPipeline, LTXLatentUpsamplePipeline
|
5 |
from diffusers.pipelines.ltx.pipeline_ltx_condition import LTXVideoCondition
|
6 |
from diffusers.utils import export_to_video, load_video
|
7 |
+
import numpy as np
|
8 |
+
|
9 |
|
10 |
pipe = LTXConditionPipeline.from_pretrained("linoyts/LTX-Video-0.9.7-distilled-diffusers", torch_dtype=torch.bfloat16)
|
11 |
pipe_upsample = LTXLatentUpsamplePipeline.from_pretrained("a-r-r-o-w/LTX-Video-0.9.7-Latent-Spatial-Upsampler-diffusers", vae=pipe.vae, torch_dtype=torch.bfloat16)
|