Don't serialize huge prompts

This commit is contained in:
space-nuko
2023-05-04 20:55:48 -05:00
parent df0a93ecb0
commit 70efb85a3f
3 changed files with 3303 additions and 4 deletions

View File

@@ -33,7 +33,8 @@ export default class ComfyGraphNode extends LGraphNode {
const ty = Object.values(LiteGraph.registered_node_types)
.find(v => v.class === widgetNode)
if (ty)
(serInput as any).widgetNodeType = ty.type
(serInput as any).widgetNodeType = ty.type;
(serInput as any).defaultWidgetNode = null
}
}
}