From 77c124c5a17534e347bdebbc1ace807d61416147 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Sun, 24 Sep 2023 13:27:57 -0400 Subject: [PATCH] Fix typo. --- nodes.py | 2 +- web/scripts/app.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 115862607..4739977e4 100644 --- a/nodes.py +++ b/nodes.py @@ -1604,7 +1604,7 @@ NODE_CLASS_MAPPINGS = { "ImageBatch": ImageBatch, "ImagePadForOutpaint": ImagePadForOutpaint, "EmptyImage": EmptyImage, - "ConditioningAverage ": ConditioningAverage , + "ConditioningAverage": ConditioningAverage , "ConditioningCombine": ConditioningCombine, "ConditioningConcat": ConditioningConcat, "ConditioningSetArea": ConditioningSetArea, diff --git a/web/scripts/app.js b/web/scripts/app.js index 5efe08c00..b41c12b86 100644 --- a/web/scripts/app.js +++ b/web/scripts/app.js @@ -1322,6 +1322,7 @@ export class ComfyApp { for (let n of graphData.nodes) { // Patch T2IAdapterLoader to ControlNetLoader since they are the same node now if (n.type == "T2IAdapterLoader") n.type = "ControlNetLoader"; + if (n.type == "ConditioningAverage ") n.type = "ConditioningAverage"; //typo fix // Find missing node types if (!(n.type in LiteGraph.registered_node_types)) {