Add lora stacker support and fix TriggerWord Toggle node

This commit is contained in:
Will Miao
2025-03-11 20:46:40 +08:00
parent ad56cafd62
commit 79ebe25bc2
8 changed files with 21 additions and 26 deletions

View File

@@ -35,6 +35,10 @@ app.registerExtension({
// Enable widget serialization
node.serialize_widgets = true;
node.addInput("lora_stack", 'LORA_STACK', {
"shape": 7 // 7 is the shape of the optional input
});
// Wait for node to be properly initialized
requestAnimationFrame(() => {
// Restore saved value if exists
@@ -105,8 +109,6 @@ app.registerExtension({
}
};
});
console.log("Lora Stacker node created:", node);
}
},
});