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.

if the output type is an array, use combo

pythongosssssd761eaa4864e
diff --git a/web/scripts/app.js b/web/scripts/app.js
index 3c29a684a..5b9e76580 100644
--- a/web/scripts/app.js
+++ b/web/scripts/app.js
@@ -1306,7 +1306,8 @@ export class ComfyApp {
}
for (const o in nodeData["output"]) {
- const output = nodeData["output"][o];
+ let output = nodeData["output"][o];
+ if(output instanceof Array) output = "COMBO";
const outputName = nodeData["output_name"][o] || output;
const outputShape = nodeData["output_is_list"][o] ? LiteGraph.GRID_SHAPE : LiteGraph.CIRCLE_SHAPE ;
this.addOutput(outputName, output, { shape: outputShape });