mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 14:42:11 -03:00
Add lora stacker support and fix TriggerWord Toggle node
This commit is contained in:
@@ -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);
|
||||
}
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user