diff --git a/paraformer/runtime/python/asr_all_in_one.py b/paraformer/runtime/python/asr_all_in_one.py index 6a55da4..40ff7eb 100644 --- a/paraformer/runtime/python/asr_all_in_one.py +++ b/paraformer/runtime/python/asr_all_in_one.py @@ -100,7 +100,7 @@ def reset_asr(self): self.start_frame = 0 self.end_frame = 0 self.vad_pre_idx = 0 - if getattr(self, 'asr_online', None): + if getattr(self, "asr_online", None): self.asr_online.reset_cache() self.vad.in_cache = None self.vad.vad.all_reset_detection()