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.

Fix renaming upload widget (#2554)

pythongosssssee2c5fa72d4f
diff --git a/web/extensions/core/groupNode.js b/web/extensions/core/groupNode.js
index 18b0e6aa6..335bddbb7 100644
--- a/web/extensions/core/groupNode.js
+++ b/web/extensions/core/groupNode.js
@@ -349,7 +349,7 @@ export class GroupNodeConfig {
}
if (config[0] === "IMAGEUPLOAD") {
if (!extra) extra = {};
- extra.widget = `${prefix}${config[1]?.widget ?? "image"}`;
+ extra.widget = this.oldToNewWidgetMap[node.index]?.[config[1]?.widget ?? "image"] ?? "image";
}
if (extra) {