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
commit d1263e7228
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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