Spaces:
Runtime error
Runtime error
Update app.py
Browse files273 unmodified lines27427527627727727827928097 unmodified lines378379380381381382383384197 unmodified lines582583584585585586587588273 unmodified lineslora_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)lora_descriptor = LoraPathStrengthAndSDOps(lora_path, 0.5, LTXV_LORA_COMFY_RENAMING_MAP)
print(f"LoRA: {lora_path}")
97 unmodified lines randomize_seed: bool = True, height: int = 1024, width: int = 1536, lora_strength: float = 1.0, lora_strength: float = 0.5, progress=gr.Progress(track_tqdm=True),): try:197 unmodified lines info="Scale for the LoRA weights (0.0 = off). Set near 1.0 for full effect.", minimum=0.0, maximum=2.0, value=1.0, value=0.5, step=0.01, )
app.py+3-3