This commit is contained in:
Yuta Hayashibe 2022-09-23 21:28:23 +09:00
parent 6f49e29838
commit 8f1e807ed7

View file

@ -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]