Merge pull request #308 from gzz2000/main
Fix local agreement backend, removing excess parameter, #295
This commit is contained in:
commit
d1263e7228
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