alphacep / vosk-server

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

bSocket connection to 'ws://localhost:2700/' failed: #219

Closed ch930410 closed 1 year ago

ch930410 commented 1 year ago

D:\vosk-server>docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1dfcba478d6e alphacep/kaldi-en:latest "python3 ./asr_serve…" About an hour ago Up About an hour 2700/tcp, 0.0.0.0:2700->270/tcp modest_lalande

running D:\vosk-server\client-samples\javascript\index.html File; click listen button error.

for the first time studying this, please help to answer; thank you

nshmyrev commented 1 year ago

You need like 16Gb of memory, most likely docker has not enough memory to run the container

ch930410 commented 1 year ago

I have 32Gb of memory, which is enough