Update app.py
Browse files
app.py
CHANGED
|
@@ -258,8 +258,7 @@ class LTX23DistilledA2VPipeline(DistilledPipeline):
|
|
| 258 |
|
| 259 |
|
| 260 |
# Model repos
|
| 261 |
-
|
| 262 |
-
LTX_SPATIAL_UPSAMPLER_REPO = "Lightricks/LTX-2.3"
|
| 263 |
GEMMA_REPO ="rahul7star/gemma-3-12b-it-heretic"
|
| 264 |
|
| 265 |
|
|
@@ -277,8 +276,8 @@ PENDING_LORA_KEY: str | None = None
|
|
| 277 |
PENDING_LORA_STATE: dict[str, torch.Tensor] | None = None
|
| 278 |
PENDING_LORA_STATUS: str = "No LoRA state prepared yet."
|
| 279 |
|
| 280 |
-
checkpoint_path = hf_hub_download(repo_id=
|
| 281 |
-
spatial_upsampler_path = hf_hub_download(repo_id=
|
| 282 |
gemma_root = snapshot_download(repo_id=GEMMA_REPO)
|
| 283 |
|
| 284 |
# ---- Insert block (LoRA downloads) between lines 268 and 269 ----
|
|
|
|
| 258 |
|
| 259 |
|
| 260 |
# Model repos
|
| 261 |
+
LTX_MODEL_REPO = "Lightricks/LTX-2.3"
|
|
|
|
| 262 |
GEMMA_REPO ="rahul7star/gemma-3-12b-it-heretic"
|
| 263 |
|
| 264 |
|
|
|
|
| 276 |
PENDING_LORA_STATE: dict[str, torch.Tensor] | None = None
|
| 277 |
PENDING_LORA_STATUS: str = "No LoRA state prepared yet."
|
| 278 |
|
| 279 |
+
checkpoint_path = hf_hub_download(repo_id=LTX_MODEL_REPO, filename="ltx-2.3-22b-dev.safetensors")
|
| 280 |
+
spatial_upsampler_path = hf_hub_download(repo_id=LTX_MODEL_REPO, filename="ltx-2.3-spatial-upscaler-x2-1.0.safetensors")
|
| 281 |
gemma_root = snapshot_download(repo_id=GEMMA_REPO)
|
| 282 |
|
| 283 |
# ---- Insert block (LoRA downloads) between lines 268 and 269 ----
|