fix: return fps from non-cache extraction path
The fps output was only returned on cache hits. Fresh extractions returned only features, leaving fps null. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
807a2e51fb
commit
762b19fd3a
1 file changed
+2
-1
@@ -203,4 +203,5 @@ class PrismAudioFeatureExtractor:
|
|||||||
|
|
||||||
# Load the extracted features
|
# Load the extracted features
|
||||||
loader = PrismAudioFeatureLoader()
|
loader = PrismAudioFeatureLoader()
|
||||||
return loader.load_features(cached_path)
|
features, = loader.load_features(cached_path)
|
||||||
|
return (features, float(fps))
|
||||||
Reference in new issue
Block a user