You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to run the server. However, I got this error when I was translating foreign audio into English:
File "/home/eng_amghasan/whisper_streaming/whisper_online_server.py", line 215, in <module>
proc.process()
File "/home/eng_amghasan/whisper_streaming/whisper_online_server.py", line 186, in process
o = online.process_iter()
File "/home/eng_amghasan/whisper_streaming/whisper_online.py", line 276, in process_iter
self.chunk_completed_sentence()
File "/home/eng_amghasan/whisper_streaming/whisper_online.py", line 322, in chunk_completed_sentence
sents = self.words_to_sentences(self.commited)
File "/home/eng_amghasan/whisper_streaming/whisper_online.py", line 376, in words_to_sentences
s = self.tokenizer.split(t)
AttributeError: 'MosesTokenizer' object has no attribute 'split'
whisper-server-INFO: killing process 138718
The text was updated successfully, but these errors were encountered:
have you installed the intended version? pip install opus-fast-mosestokenizer
Yeah it works! Thanks
Maybe it's a good idea to create a requirements.txt file that contains librosa + the right version of moses tokenizer?
I'll open a pr.
Hello again.
I managed to run the server. However, I got this error when I was translating foreign audio into English:
The text was updated successfully, but these errors were encountered: