fix: use correct LoRA mapping, add fallback for backwards compatibility

This commit is contained in:
Manuel Schmid
2024-01-29 15:45:55 +01:00
parent 20e53028a4
commit c80011b1d1
2 changed files with 19 additions and 12 deletions
+1 -1
View File
@@ -804,7 +804,7 @@ def worker():
]
for li, (n, w) in enumerate(loras):
if n != 'None':
d.append((f'LoRA {li + 1}', f'lora{li + 1}_combined', f'{n} : {w}', True, True))
d.append((f'LoRA {li + 1}', f'lora_combined_{li + 1}', f'{n} : {w}', True, True))
d.append((f'LoRA {li + 1} Name', f'lora_name_{li + 1}', n, False, False))
d.append((f'LoRA {li + 1} Weight', f'lora_weight_{li + 1}', w, False, False))
d.append((f'LoRA {li + 1} Hash', f'lora_hash_{li + 1}', lora_hashes[li], False, False))