checkpoint

This commit is contained in:
Will Miao
2025-03-11 19:29:31 +08:00
parent 5a6c412845
commit ad56cafd62
7 changed files with 255 additions and 16 deletions

View File

@@ -750,6 +750,7 @@ export function addLorasWidget(node, name, opts, callback) {
widget.callback = callback;
widget.serializeValue = () => {
console.log("Serializing loras data: ", widgetValue);
// Add dummy items to avoid the 2-element serialization issue, a bug in comfyui
return [...widgetValue,
{ name: "__dummy_item1__", strength: 0, active: false, _isDummy: true },