Fix local agreement backend, removing excess parameter, fixes https://github.com/QuentinFuxa/WhisperLiveKit/issues/295
This commit is contained in:
parent
635bace09e
commit
30ddd522a4
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ class FasterWhisperASR(ASRBase):
|
||||||
if segment.no_speech_prob > 0.9:
|
if segment.no_speech_prob > 0.9:
|
||||||
continue
|
continue
|
||||||
for word in segment.words:
|
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)
|
tokens.append(token)
|
||||||
return tokens
|
return tokens
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue