mirror of
https://github.com/QuentinFuxa/WhisperLiveKit.git
synced 2026-03-07 22:33:36 +00:00
fix bug of completed sentence chunking. tested on faster-whisper in en language
This commit is contained in:
@@ -389,6 +389,7 @@ class OnlineASRProcessor:
|
||||
fsent = sent
|
||||
while cwords:
|
||||
b,e,w = cwords.pop(0)
|
||||
w = w.strip()
|
||||
if beg is None and sent.startswith(w):
|
||||
beg = b
|
||||
elif end is None and sent == w:
|
||||
|
||||
Reference in New Issue
Block a user