mirror of
https://github.com/shirayu/whispering.git
synced 2024-06-11 17:59:33 +00:00
Fix a typo
This commit is contained in:
parent
48d31edfeb
commit
2fc05d6ac7
|
@ -236,7 +236,7 @@ class WhisperStreamingTranscriber:
|
||||||
if self.buffer_mel is None:
|
if self.buffer_mel is None:
|
||||||
mel = new_mel
|
mel = new_mel
|
||||||
else:
|
else:
|
||||||
logger.debug(f"bufer_mel.shape: {self.buffer_mel.shape}")
|
logger.debug(f"buffer_mel.shape: {self.buffer_mel.shape}")
|
||||||
mel = torch.cat([self.buffer_mel, new_mel], dim=-1)
|
mel = torch.cat([self.buffer_mel, new_mel], dim=-1)
|
||||||
self.buffer_mel = None
|
self.buffer_mel = None
|
||||||
logger.debug(f"mel.shape: {mel.shape}")
|
logger.debug(f"mel.shape: {mel.shape}")
|
||||||
|
|
Loading…
Reference in a new issue