Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,7 @@ class LTX23DistilledA2VPipeline(DistilledPipeline):
|
|
| 257 |
|
| 258 |
# Model repos
|
| 259 |
LTX_MODEL_REPO = "Lightricks/LTX-2.3"
|
| 260 |
-
GEMMA_REPO ="
|
| 261 |
|
| 262 |
|
| 263 |
# Download model checkpoints
|
|
@@ -270,8 +270,8 @@ spatial_upsampler_path = hf_hub_download(repo_id=LTX_MODEL_REPO, filename="ltx-2
|
|
| 270 |
gemma_root = snapshot_download(repo_id=GEMMA_REPO)
|
| 271 |
|
| 272 |
# >>> ADD: download and prepare LoRA descriptor
|
| 273 |
-
print("Downloading LoRA for this Space (dagloop5/LoRA:
|
| 274 |
-
lora_path = hf_hub_download(repo_id="dagloop5/LoRA", filename="
|
| 275 |
# Create a descriptor object that the LTX loader expects.
|
| 276 |
# initial strength is set to 1.0; we'll mutate `.strength` at runtime from the UI slider.
|
| 277 |
lora_descriptor = LoraPathStrengthAndSDOps(lora_path, 1.0, LTXV_LORA_COMFY_RENAMING_MAP)
|
|
|
|
| 257 |
|
| 258 |
# Model repos
|
| 259 |
LTX_MODEL_REPO = "Lightricks/LTX-2.3"
|
| 260 |
+
GEMMA_REPO ="rahul7star/gemma-3-12b-it-heretic"
|
| 261 |
|
| 262 |
|
| 263 |
# Download model checkpoints
|
|
|
|
| 270 |
gemma_root = snapshot_download(repo_id=GEMMA_REPO)
|
| 271 |
|
| 272 |
# >>> ADD: download and prepare LoRA descriptor
|
| 273 |
+
print("Downloading LoRA for this Space (dagloop5/LoRA:LoRA2.safetensors)...")
|
| 274 |
+
lora_path = hf_hub_download(repo_id="dagloop5/LoRA", filename="LoRA2.safetensors")
|
| 275 |
# Create a descriptor object that the LTX loader expects.
|
| 276 |
# initial strength is set to 1.0; we'll mutate `.strength` at runtime from the UI slider.
|
| 277 |
lora_descriptor = LoraPathStrengthAndSDOps(lora_path, 1.0, LTXV_LORA_COMFY_RENAMING_MAP)
|