Spaces:
Running on Zero
Running on Zero
Commit History
-
fix: classify new catalog LoRAs as kohya, sniff format from keys Running
`nsfw_h3_unlocked` (Kutches/minmax) and `nsfw_mystic_xxx_v4.0` (B4100/mystic-h3) ship kohya keys (lora_unet_*/lora_down/lora_up/alpha) but were cataloged as ComfyUI, so `_convert_comfyui_h3_lora` indexed past the end of a 2-part key and the request died with IndexError. - config.py: `format: "kohya"` on both entries; fix the dangling LORA_CONFLICT_GROUPS reference to the renamed mystic entry; refresh the catalog classification comment. - formats.py: new `_detect_lora_format` + `_convert_lora` entry point — the sniffed format wins, the declared one is a tiebreak, and remaining converters are tried if one maps nothing, so a mislabeled file loads instead of crashing. - formats.py: `_convert_comfyui_h3_lora` skips unrecognized key shapes instead of indexing them, requires a numeric block index, and normalizes the PEFT `.default` infix (`nsfw_framerush` was converting to zero modules, i.e. a silent no-op). - fetch.py: all four loaders go through `_convert_lora` (was triplicated…bc09615
-
fix: allow catalog NSFW LoRAs up to 1.5 GB
Photorealistic Image Generator (596 MB) exceeded the 512 MB custom-LoRA cap. Catalog entries now use max_bytes=1.5GB; user custom LoRAs stay at 512MB.03de483 -
fix: read PIPE/LOAD_ERROR from state module at runtime
from state import PIPE bound the name at import time to None; load_models rebound state.PIPE but pipeline/request/fetch still saw the old None. All rebindable globals now go through import state as _state.287aa00 -
fix: turbo LoRA size limit + isolate load failure; dropdown None
- System turbo weights (~851 MB) use max_bytes=2GB override (user LoRA cap stays 512MB) - Turbo load failure no longer aborts entire load_models / PIPE setup - Community dropdown value=[] instead of None (Gradio choice error) - column_count replaces deprecated col_count - Turbo checkbox always visible; state globals written correctly60cb470 -
refactor: split app.py into focused modules (#5)
- refactor: split app.py into focused modules (4e0803b56388a42861ecb344b9e6c3b94cae2a77) - feat(ui): removable community LoRAs + per-LoRA strength (3322d355df9b2874d065a3e56d69914f9b97f612)64db20c