Fix typo.

This commit is contained in:
comfyanonymous 2023-09-24 13:27:57 -04:00
parent 76cdc809bf
commit 77c124c5a1
2 changed files with 2 additions and 1 deletions

View File

@ -1604,7 +1604,7 @@ NODE_CLASS_MAPPINGS = {
"ImageBatch": ImageBatch,
"ImagePadForOutpaint": ImagePadForOutpaint,
"EmptyImage": EmptyImage,
"ConditioningAverage ": ConditioningAverage ,
"ConditioningAverage": ConditioningAverage ,
"ConditioningCombine": ConditioningCombine,
"ConditioningConcat": ConditioningConcat,
"ConditioningSetArea": ConditioningSetArea,

View File

@ -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)) {