Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files256 unmodified lines2572582592602602612622636 unmodified lines270271272273274273274275276277256 unmodified lines
# Model reposLTX_MODEL_REPO = "Lightricks/LTX-2.3"GEMMA_REPO ="google/gemma-3-12b-it-qat-q4_0-unquantized"GEMMA_REPO ="rahul7star/gemma-3-12b-it-heretic"
# Download model checkpoints6 unmodified linesgemma_root = snapshot_download(repo_id=GEMMA_REPO)
# >>> ADD: download and prepare LoRA descriptorprint("Downloading LoRA for this Space (dagloop5/LoRA:LoRA.safetensors)...")lora_path = hf_hub_download(repo_id="dagloop5/LoRA", filename="LoRA.safetensors")print("Downloading LoRA for this Space (dagloop5/LoRA:LoRA2.safetensors)...")lora_path = hf_hub_download(repo_id="dagloop5/LoRA", filename="LoRA2.safetensors")# Create a descriptor object that the LTX loader expects.# initial strength is set to 1.0; we'll mutate `.strength` at runtime from the UI slider.lora_descriptor = LoraPathStrengthAndSDOps(lora_path, 1.0, LTXV_LORA_COMFY_RENAMING_MAP)app.py+3-3