Split LoRA keys into separate name and strength fields

Store lora name and strength as independent JSON keys instead of the
combined <lora:name:strength> format. Legacy format is auto-migrated
on load. Timeline preview updated to show all 6 LoRA slots.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-18 22:21:48 +01:00
parent 074e36f883
commit be9c95ffbd
3 changed files with 41 additions and 30 deletions
+6 -3
View File
@@ -50,9 +50,12 @@ DEFAULTS = {
"flf image path": "",
# --- LoRAs ---
"lora 1 high": "", "lora 1 low": "",
"lora 2 high": "", "lora 2 low": "",
"lora 3 high": "", "lora 3 low": ""
"lora 1 high": "", "lora 1 high strength": 1.0,
"lora 1 low": "", "lora 1 low strength": 1.0,
"lora 2 high": "", "lora 2 high strength": 1.0,
"lora 2 low": "", "lora 2 low strength": 1.0,
"lora 3 high": "", "lora 3 high strength": 1.0,
"lora 3 low": "", "lora 3 low strength": 1.0
}
CONFIG_FILE = Path(".editor_config.json")