From 8f99536f4d20cf8a1698b13dbcadb424624521d6 Mon Sep 17 00:00:00 2001 From: lovemefan Date: Wed, 14 Feb 2024 22:44:45 +0800 Subject: [PATCH] remove waveform from memery --- paraformer/runtime/python/utils/preprocess.py | 1 + 1 file changed, 1 insertion(+) diff --git a/paraformer/runtime/python/utils/preprocess.py b/paraformer/runtime/python/utils/preprocess.py index 149b433..b1df1a7 100644 --- a/paraformer/runtime/python/utils/preprocess.py +++ b/paraformer/runtime/python/utils/preprocess.py @@ -382,6 +382,7 @@ def cache_reset(self): self.fbank_fn = knf.OnlineFbank(self.opts) self.reserve_waveforms = None self.input_cache = None + self.waveform = None self.lfr_splice_cache = []