Made CLIP input optional in LoRA Loader, enabling compatibility with Hunyuan workflows

This commit is contained in:
Will Miao
2025-03-26 21:50:26 +08:00
parent 83582ef8a3
commit 0459710c9b
3 changed files with 7 additions and 5 deletions

View File

@@ -35,6 +35,10 @@ app.registerExtension({
// Enable widget serialization
node.serialize_widgets = true;
node.addInput('clip', 'CLIP', {
"shape": 7
});
node.addInput("lora_stack", 'LORA_STACK', {
"shape": 7 // 7 is the shape of the optional input
});