remove forgotten debug prints
This commit is contained in:
@@ -77,10 +77,6 @@ class AudioMathNode(io.ComfyNode):
|
||||
visitor = TensorEvalVisitor(variables, a['waveform'].shape)
|
||||
result_tensor = visitor.visit(tree)
|
||||
|
||||
print("Audio Tree\n" + tree.toStringTree(recog=parser))
|
||||
print("Result Tensor: ", result_tensor)
|
||||
print("Result Tensor Shape: ", result_tensor.shape)
|
||||
|
||||
# Create output dictionary with the same sample rate
|
||||
output = {
|
||||
'waveform': result_tensor,
|
||||
|
||||
@@ -81,7 +81,6 @@ class ConditioningMathNode(io.ComfyNode):
|
||||
stream = CommonTokenStream(lexer)
|
||||
parser = MathExprParser(stream)
|
||||
tree = parser.expr()
|
||||
print("Tensor\n"+tree.toStringTree(recog=parser))
|
||||
visitor = TensorEvalVisitor(variables,ta.shape)
|
||||
result1 = visitor.visit(tree)
|
||||
|
||||
@@ -92,7 +91,6 @@ class ConditioningMathNode(io.ComfyNode):
|
||||
stream = CommonTokenStream(lexer)
|
||||
parser = MathExprParser(stream)
|
||||
tree = parser.expr()
|
||||
print("pooled_output\n"+tree.toStringTree(recog=parser))
|
||||
visitor = TensorEvalVisitor(variables,pa.shape)
|
||||
result2 = visitor.visit(tree)
|
||||
|
||||
|
||||
@@ -70,7 +70,6 @@ class FloatMathNode(io.ComfyNode):
|
||||
parser = MathExprParser(stream)
|
||||
parser.addErrorListener(ThrowingErrorListener())
|
||||
tree = parser.expr()
|
||||
print("Tree\n"+tree.toStringTree(recog=parser))
|
||||
visitor = FloatEvalVisitor(variables)
|
||||
result = visitor.visit(tree)
|
||||
return (result,)
|
||||
|
||||
@@ -71,7 +71,6 @@ class ImageMathNode(io.ComfyNode):
|
||||
parser = MathExprParser(stream)
|
||||
parser.addErrorListener(ThrowingErrorListener())
|
||||
tree = parser.expr()
|
||||
print("Tree\n"+tree.toStringTree(recog=parser))
|
||||
visitor = TensorEvalVisitor(variables,a.shape)
|
||||
result = visitor.visit(tree)
|
||||
return (result,)
|
||||
|
||||
Reference in New Issue
Block a user