From 3a79ea958831a809c68845fd93620f2562059a38 Mon Sep 17 00:00:00 2001 From: aimfordeb <133010426+aimfordeb@users.noreply.github.com> Date: Thu, 25 Dec 2025 00:33:30 +0200 Subject: [PATCH] Update funpack.py --- funpack.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/funpack.py b/funpack.py index aac27784..56e23832 100644 --- a/funpack.py +++ b/funpack.py @@ -368,8 +368,6 @@ class FunPackStoryMemKeyframeExtractor: @torch.no_grad() def get_clip_similarity(self, frame1: torch.Tensor, frame2: torch.Tensor, clip_vision) -> float: - """Calculate CLIP embedding cosine similarity between two frames using ComfyUI CLIP Vision""" - # Preprocess frames to [1, H, W, C] format x1 = self.clip_preprocess(frame1, clip_vision) x2 = self.clip_preprocess(frame2, clip_vision) @@ -637,3 +635,4 @@ NODE_DISPLAY_NAME_MAPPINGS = { } +