fix(ui): fix incorrect lora id processing

This commit is contained in:
psychedelicious 2023-07-05 12:04:07 +10:00
parent 52a09422c7
commit 0f0336b6ef

View File

@ -42,8 +42,8 @@ export const addLoRAsToGraph = (
let currentLoraIndex = 0;
forEach(loras, (lora) => {
const { name, weight } = lora;
const loraField = modelIdToLoRAModelField(name);
const { id, name, weight } = lora;
const loraField = modelIdToLoRAModelField(id);
const currentLoraNodeId = `${LORA_LOADER}_${loraField.model_name.replace(
'.',
'_'