From 55fc79dec0a7102931a38248f64ab15f67057079 Mon Sep 17 00:00:00 2001 From: Jael Gu Date: Tue, 30 May 2023 17:14:27 +0800 Subject: [PATCH] Update Signed-off-by: Jael Gu --- clmr_magnatagatune.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clmr_magnatagatune.py b/clmr_magnatagatune.py index 743edc7..428af7d 100644 --- a/clmr_magnatagatune.py +++ b/clmr_magnatagatune.py @@ -77,7 +77,7 @@ class ClmrMagnatagatune(NNOperator): outs = features.to("cpu") return outs.detach().numpy() - def __call__(self, data: List[AudioFrame]) -> numpy.ndarray: + def preprocess(self, data: List[AudioFrame]) -> numpy.ndarray: _sr = 22050 audio_length = 59049