Update app.py
Browse files40 unmodified lines4142434445464714 unmodified lines626364656667681092 unmodified lines116111621163116411651166116740 unmodified lines# Each entry is (repo, filename) so a LoRA can come from any repo, not just LORA_REPO — the two Lightx2v files# live in lightx2v/Minimax-h3-Turbo, not dagloop5/LoRA.LORA_FILES = {"lora1": (LORA_REPO, os.environ.get("H3_LORA_1_FILE", "minimax_h3_turbo_v4_step600_ema.safetensors")),"loraa": (LORA_REPO, os.environ.get("H3_LORA_A_FILE", "Mylo_lora_epoch31.safetensors")),"lorab": (LORA_REPO, os.environ.get("H3_LORA_B_FILE", "VBVR_H3_attn_only.safetensors")),"lorac": (LORA_REPO, os.environ.get("H3_LORA_C_FILE", "HM-AIO-V2.5.safetensors")),14 unmodified lines# Display names, keyed the same as LORA_FILES — used in the UI slider labels, the per-request report line, and# the status line's failure list. Keep these two dicts' keys in sync when adding a LoRA.LORA_LABELS = {"lora1": "Larryvrh-MiniMax-H3 Turbo LoRA","loraa": "Anthro Enhancer","lorab": "Reasoning Enhancer","lorac": "HM-AIO", # hmmotion1092 unmodified linesreport = gr.Markdown()with gr.Accordion("Distilled / Turbo LoRAs", open=False):lora_1_strength = gr.Slider(label="Larryvrh-MiniMax-H3 Turbo LoRA",minimum=0.0,maximum=2.0,step=0.05,40 unmodified lines4142434445464748495014 unmodified lines656667686970711092 unmodified lines116411651166116711681169117040 unmodified lines# Each entry is (repo, filename) so a LoRA can come from any repo, not just LORA_REPO — the two Lightx2v files# live in lightx2v/Minimax-h3-Turbo, not dagloop5/LoRA.LORA_FILES = {"lora1": (os.environ.get("H3_LORA_I_REPO", "alibaba-pai/MiniMax-H3-Acc-LoRAs"),os.environ.get("H3_LORA_I_FILE", "MiniMax-H3-FL2VA-Acc-8Step.safetensors"),),"loraa": (LORA_REPO, os.environ.get("H3_LORA_A_FILE", "Mylo_lora_epoch31.safetensors")),"lorab": (LORA_REPO, os.environ.get("H3_LORA_B_FILE", "VBVR_H3_attn_only.safetensors")),"lorac": (LORA_REPO, os.environ.get("H3_LORA_C_FILE", "HM-AIO-V2.5.safetensors")),14 unmodified lines# Display names, keyed the same as LORA_FILES — used in the UI slider labels, the per-request report line, and# the status line's failure list. Keep these two dicts' keys in sync when adding a LoRA.LORA_LABELS = {"lora1": "MiniMax-H3-FL2VA-Acc-8Step","loraa": "Anthro Enhancer","lorab": "Reasoning Enhancer","lorac": "HM-AIO", # hmmotion1092 unmodified linesreport = gr.Markdown()with gr.Accordion("Distilled / Turbo LoRAs", open=False):lora_1_strength = gr.Slider(label="MiniMax-H3-FL2VA-Acc-8Step",minimum=0.0,maximum=2.0,step=0.05,
app.py+6-3