tsqn commited on
Commit
2315208
·
verified ·
1 Parent(s): 429baa7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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.from_single_file(
55
- single_file_url,
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,