Fix local agreement backend, removing excess parameter, fixes https://github.com/QuentinFuxa/WhisperLiveKit/issues/295

This commit is contained in:
Zizheng Guo
2025-12-04 16:45:23 +08:00
committed by GitHub
parent 635bace09e
commit 30ddd522a4

View File

@@ -151,7 +151,7 @@ class FasterWhisperASR(ASRBase):
if segment.no_speech_prob > 0.9:
continue
for word in segment.words:
token = ASRToken(word.start, word.end, word.word, probability=word.probability)
token = ASRToken(word.start, word.end, word.word)
tokens.append(token)
return tokens