alphacep / vosk-server

WebSocket, gRPC and WebRTC speech recognition server based on Vosk and Kaldi libraries
Apache License 2.0
882 stars 243 forks source link

webrtc error #159

Closed wizVR-zhangjun closed 2 years ago

wizVR-zhangjun commented 2 years ago

$ python asr_server_webrtc.py (base) zhanggan@zhanggan-B460MDS3HV2:~/桌面/vosk-server-master/webrtc$ python asr_server_webrtc.py ERROR (VoskAPI:Model():model.cc:122) Folder 'model' does not contain model files. Make sure you specified the model path properly in Model constructor. If you are not sure about relative path, use absolute path specification. Traceback (most recent call last): File "asr_server_webrtc.py", line 26, in model = Model(vosk_model_path) File "/home/zhanggan/.local/lib/python3.8/site-packages/vosk/init.py", line 29, in init raise Exception("Failed to create a model") Exception: Failed to create a model (base) zhanggan@zhanggan-B460MDS3HV2:~/桌面/vosk-server-master/webrtc$ @nshmyrev

nshmyrev commented 2 years ago

Same as #160