Fix Timestep Keyframe Interpolation/From List nodes

This commit is contained in:
Jedrzej Kosinski
2024-05-14 23:30:22 -05:00
parent cdfbdc0bbe
commit f61c3e2be3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -86,7 +86,7 @@ class TimestepKeyframeInterpolationNode:
RETURN_NAMES = ("TIMESTEP_KF", )
RETURN_TYPES = ("TIMESTEP_KEYFRAME", )
FUNCTION = "load_keyframes"
FUNCTION = "load_keyframe"
CATEGORY = "Adv-ControlNet 🛂🅐🅒🅝/keyframes"
@@ -144,7 +144,7 @@ class TimestepKeyframeFromStrengthListNode:
RETURN_NAMES = ("TIMESTEP_KF", )
RETURN_TYPES = ("TIMESTEP_KEYFRAME", )
FUNCTION = "load_keyframes"
FUNCTION = "load_keyframe"
CATEGORY = "Adv-ControlNet 🛂🅐🅒🅝/keyframes"
+1 -1
View File
@@ -184,7 +184,7 @@ class TimestepKeyframe:
inherit_missing: bool = True,
guarantee_steps: int = 1,
mask_hint_orig: Tensor = None) -> None:
self.start_percent = start_percent
self.start_percent = float(start_percent)
self.start_t = 999999999.9
self.strength = strength
self.control_weights = control_weights