Revert "check why no stack is between float and guider" - problem in workflow
This reverts commit cfdf30d0ee.
This commit is contained in:
@@ -84,5 +84,4 @@ 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)
|
||||
|
||||
@@ -63,7 +63,6 @@ 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))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user