From 30631c0cb4d97cc6aed69a52e3ee4d89df03926c Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sat, 28 Mar 2026 11:05:35 +0100 Subject: [PATCH] fix: change fps output type from INT to FLOAT Co-Authored-By: Claude Sonnet 4.6 --- nodes/feature_extractor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/feature_extractor.py b/nodes/feature_extractor.py index 0fe32ae..2ae61db 100644 --- a/nodes/feature_extractor.py +++ b/nodes/feature_extractor.py @@ -105,7 +105,7 @@ class PrismAudioFeatureExtractor: }, } - RETURN_TYPES = ("PRISMAUDIO_FEATURES", "INT") + RETURN_TYPES = ("PRISMAUDIO_FEATURES", "FLOAT") RETURN_NAMES = ("features", "fps") FUNCTION = "extract_features" CATEGORY = PRISMAUDIO_CATEGORY @@ -135,7 +135,7 @@ class PrismAudioFeatureExtractor: print(f"[PrismAudio] Using cached features: {cached_path}") loader = PrismAudioFeatureLoader() features, = loader.load_features(cached_path) - return (features, round(fps)) + return (features, float(fps)) # Save frames to temp file (lossless .npy, no codec roundtrip) import time