check why no stack is between float and guider
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user