Browse Source

Fix typo.

pull/1597/head
comfyanonymous 1 year ago
parent
commit
77c124c5a1
  1. 2
      nodes.py
  2. 1
      web/scripts/app.js

2
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,

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

Loading…
Cancel
Save