checkpoint

This commit is contained in:
Will Miao
2025-03-02 09:21:01 +08:00
parent 002823c6cf
commit 1c329ac6ca
6 changed files with 144 additions and 108 deletions

View File

@@ -58,7 +58,7 @@ app.registerExtension({
const result = addLorasWidget(node, "loras", {
defaultVal: mergedLoras // Pass object directly
}, (value) => {
// TODO
console.log("Loras data updated:", value);
});
node.lorasWidget = result.widget;
@@ -71,7 +71,10 @@ app.registerExtension({
const mergedLoras = mergeLoras(value, currentLoras);
node.lorasWidget.value = mergedLoras;
// node.graph.setDirtyCanvas(true, true);
};
console.log("node: ", node);
});
}
},