mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix incorrect lora id processing
This commit is contained in:
parent
52a09422c7
commit
0f0336b6ef
@ -42,8 +42,8 @@ export const addLoRAsToGraph = (
|
|||||||
let currentLoraIndex = 0;
|
let currentLoraIndex = 0;
|
||||||
|
|
||||||
forEach(loras, (lora) => {
|
forEach(loras, (lora) => {
|
||||||
const { name, weight } = lora;
|
const { id, name, weight } = lora;
|
||||||
const loraField = modelIdToLoRAModelField(name);
|
const loraField = modelIdToLoRAModelField(id);
|
||||||
const currentLoraNodeId = `${LORA_LOADER}_${loraField.model_name.replace(
|
const currentLoraNodeId = `${LORA_LOADER}_${loraField.model_name.replace(
|
||||||
'.',
|
'.',
|
||||||
'_'
|
'_'
|
||||||
|
Loading…
Reference in New Issue
Block a user