Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Set title to widget name

pythongosssss1fa9ccaa164c
diff --git a/web/extensions/core/widgetInputs.js b/web/extensions/core/widgetInputs.js
index b699373ef..ad8bcdf02 100644
--- a/web/extensions/core/widgetInputs.js
+++ b/web/extensions/core/widgetInputs.js
@@ -149,6 +149,7 @@ app.registerExtension({
app.graph.add(node);
node.pos = [this.pos[0] - node.size[0] - 30, this.pos[1]];
node.connect(0, this, slot);
+ node.title = this.inputs[slot].name;
}
return r;