alphacep / vosk-server

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

Docker image for arabic #186

Open ghost opened 2 years ago

ghost commented 2 years ago

Unable to find image 'alphacep/kaldi-ar:latest' Is there anyway to run arabic docker?

nshmyrev commented 2 years ago

You have to build it yourself, you can use docker files as examples:

https://github.com/alphacep/vosk-server/blob/master/docker/Dockerfile.kaldi-de

ahmedalbahnasawy commented 2 years ago
FROM alphacep/kaldi-vosk-server:latest

ENV MODEL_VERSION 0.4
RUN mkdir /opt/vosk-model-ar \
   && cd /opt/vosk-model-ar \
   && wget -q https://alphacephei.com/vosk/models/vosk-model-ar-mgb2-${MODEL_VERSION}.zip \
   && unzip vosk-model-ar-mgb2-${MODEL_VERSION}.zip \
   && mv vosk-model-ar-mgb2-${MODEL_VERSION} model \
   && rm -rf vosk-model-ar-mgb2-${MODEL_VERSION}.zip

EXPOSE 2700
WORKDIR /opt/vosk-server/websocket

change the model if you have your own trained model .