diff --git a/more_math/FloatMathNode.py b/more_math/FloatMathNode.py index a55634a..e2764db 100644 --- a/more_math/FloatMathNode.py +++ b/more_math/FloatMathNode.py @@ -84,4 +84,5 @@ class FloatMathNode(io.ComfyNode): # Result might be float or tensor(scalar) if torch.is_tensor(result): result = result[0].item() + print(stack) return (float(result),stack) diff --git a/more_math/GuiderMathNode.py b/more_math/GuiderMathNode.py index c06a98c..cc8163c 100644 --- a/more_math/GuiderMathNode.py +++ b/more_math/GuiderMathNode.py @@ -63,6 +63,7 @@ class GuiderMathNode(io.ComfyNode): @classmethod def execute(cls, V, F, Expression, Expression1, stack=None): stack_copy = stack if stack is not None else {} + print(stack_copy) return (MathGuider(V, F, Expression, Expression1, stack_copy), copy.deepcopy(stack_copy))