Spaces:
Running
on
Zero
Running
on
Zero
fix model path
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ dtype = torch.bfloat16
|
|
| 33 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 34 |
|
| 35 |
pipe = LTXConditionPipeline.from_pretrained("Lightricks/LTX-Video-0.9.7-distilled", torch_dtype=dtype)
|
| 36 |
-
pipe_upsample = LTXLatentUpsamplePipeline.from_pretrained("Lightricks/
|
| 37 |
pipe.to(device)
|
| 38 |
pipe_upsample.to(device)
|
| 39 |
pipe.vae.enable_tiling()
|
|
|
|
| 33 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 34 |
|
| 35 |
pipe = LTXConditionPipeline.from_pretrained("Lightricks/LTX-Video-0.9.7-distilled", torch_dtype=dtype)
|
| 36 |
+
pipe_upsample = LTXLatentUpsamplePipeline.from_pretrained("Lightricks/ltxv-spatial-upscaler-0.9.7", vae=pipe.vae, torch_dtype=dtype)
|
| 37 |
pipe.to(device)
|
| 38 |
pipe_upsample.to(device)
|
| 39 |
pipe.vae.enable_tiling()
|