linoyts HF Staff commited on
Commit
d61a0bc
·
verified ·
1 Parent(s): d191aca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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)