Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,6 @@ gc.collect()
|
|
23 |
torch.cuda.empty_cache()
|
24 |
|
25 |
ckpt_path = Path("Lightricks/LTX-Video-0.9.5")
|
26 |
-
#single_file_url = "https://huggingface.co/Lightricks/LTX-Video/ltx-video-2b-v0.9.1.safetensors"
|
27 |
transformer = LTXVideoTransformer3DModel.from_pretrained(
|
28 |
ckpt_path,
|
29 |
subfolder="transformer",
|
@@ -51,8 +50,8 @@ tokenizer = T5Tokenizer.from_pretrained(
|
|
51 |
subfolder="tokenizer"
|
52 |
)
|
53 |
|
54 |
-
pipeline = LTXPipeline.
|
55 |
-
|
56 |
transformer=transformer,
|
57 |
text_encoder=text_encoder,
|
58 |
tokenizer=tokenizer,
|
|
|
23 |
torch.cuda.empty_cache()
|
24 |
|
25 |
ckpt_path = Path("Lightricks/LTX-Video-0.9.5")
|
|
|
26 |
transformer = LTXVideoTransformer3DModel.from_pretrained(
|
27 |
ckpt_path,
|
28 |
subfolder="transformer",
|
|
|
50 |
subfolder="tokenizer"
|
51 |
)
|
52 |
|
53 |
+
pipeline = LTXPipeline.from_pretrained(
|
54 |
+
"Lightricks/LTX-Video",
|
55 |
transformer=transformer,
|
56 |
text_encoder=text_encoder,
|
57 |
tokenizer=tokenizer,
|