Merge pull request #308 from gzz2000/main

Fix local agreement backend, removing excess parameter, #295
This commit is contained in:
Quentin Fuxa
2025-12-05 11:34:05 +01:00
committed by GitHub

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