From 764e835533421927d599b59cde676a8c0a3b2528 Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Wed, 22 Apr 2026 12:21:11 +0300 Subject: [PATCH] Rename model input --- comfy_extras/nodes_frame_interpolation.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/comfy_extras/nodes_frame_interpolation.py b/comfy_extras/nodes_frame_interpolation.py index 34d6dea11..714fd99d4 100644 --- a/comfy_extras/nodes_frame_interpolation.py +++ b/comfy_extras/nodes_frame_interpolation.py @@ -81,7 +81,7 @@ class FrameInterpolate(io.ComfyNode): category="image/video", search_aliases=["rife", "film", "frame interpolation", "slow motion", "interpolate frames", "vfi"], inputs=[ - FrameInterpolationModel.Input("model"), + FrameInterpolationModel.Input("frame_interpolation_model"), io.Image.Input("images"), io.Int.Input("multiplier", default=2, min=2, max=16), ], @@ -91,17 +91,17 @@ class FrameInterpolate(io.ComfyNode): ) @classmethod - def execute(cls, model, images, multiplier) -> io.NodeOutput: + def execute(cls, frame_interpolation_model, images, multiplier) -> io.NodeOutput: offload_device = model_management.intermediate_device() num_frames = images.shape[0] if num_frames < 2 or multiplier < 2: return io.NodeOutput(images) - model_management.load_model_gpu(model) - device = model.load_device - dtype = model.model_dtype() - inference_model = model.model + model_management.load_model_gpu(frame_interpolation_model) + device = frame_interpolation_model.load_device + dtype = frame_interpolation_model.model_dtype() + inference_model = frame_interpolation_model.model # Free VRAM for inference activations (model weights + ~20x a single frame's worth) H, W = images.shape[1], images.shape[2]