mirror of
https://github.com/shirayu/whispering.git
synced 2024-06-02 21:39:28 +00:00
Cleaned
This commit is contained in:
parent
6f49e29838
commit
8f1e807ed7
|
@ -70,7 +70,6 @@ class WhisperStreamingTranscriber:
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
segment: np.ndarray,
|
segment: np.ndarray,
|
||||||
prompt,
|
|
||||||
) -> List[DecodingResult]:
|
) -> List[DecodingResult]:
|
||||||
assert len(self.config.temperatures) >= 1
|
assert len(self.config.temperatures) >= 1
|
||||||
t = self.config.temperatures[0]
|
t = self.config.temperatures[0]
|
||||||
|
@ -211,7 +210,6 @@ class WhisperStreamingTranscriber:
|
||||||
)
|
)
|
||||||
results = self._decode_with_fallback(
|
results = self._decode_with_fallback(
|
||||||
segment=segment,
|
segment=segment,
|
||||||
prompt=self.buffer_tokens,
|
|
||||||
)
|
)
|
||||||
result = results[0]
|
result = results[0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue