From 8f1e807ed745a583582646d1d802af04bfcd5ad1 Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Fri, 23 Sep 2022 21:28:23 +0900 Subject: [PATCH] Cleaned --- whisper_streaming/transcriber.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/whisper_streaming/transcriber.py b/whisper_streaming/transcriber.py index 5fcf6f6..07bf6c8 100644 --- a/whisper_streaming/transcriber.py +++ b/whisper_streaming/transcriber.py @@ -70,7 +70,6 @@ class WhisperStreamingTranscriber: self, *, segment: np.ndarray, - prompt, ) -> List[DecodingResult]: assert len(self.config.temperatures) >= 1 t = self.config.temperatures[0] @@ -211,7 +210,6 @@ class WhisperStreamingTranscriber: ) results = self._decode_with_fallback( segment=segment, - prompt=self.buffer_tokens, ) result = results[0]