From 9c6da66100b32b72c3ededc15078eaedf2e4bb6b Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Thu, 2 May 2024 18:19:05 +0300 Subject: [PATCH] Update curve_nodes.py --- nodes/curve_nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/curve_nodes.py b/nodes/curve_nodes.py index 282dae1..b1568a8 100644 --- a/nodes/curve_nodes.py +++ b/nodes/curve_nodes.py @@ -290,7 +290,7 @@ class WeightScheduleConvert: }, } - RETURN_TYPES = ("FLOAT", "STRING",) + RETURN_TYPES = ("FLOAT", "STRING", "INT",) FUNCTION = "execute" CATEGORY = "KJNodes" DESCRIPTION = """ @@ -357,7 +357,7 @@ Converts different value lists/series to another type. out = torch.tensor(float_values, dtype=torch.float32), elif output_type == 'match_input': out = float_values, - return (out, [str(value) for value in float_values],) + return (out, [str(value) for value in float_values], [int(value) for value in float_values]) class FloatToMask: