Commit dab62848 authored by Eduardo Silva's avatar Eduardo Silva

Update README

parent 6610678d
......@@ -143,7 +143,7 @@ wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/samp
3) Update file contents:
```
find /media/kaldi_models/ -type f | xargs sed -i 's:test:/opt:g'
sed -i 's:full-post-processor:#full-post-processor:g'
sed -i 's:full-post-processor:#full-post-processor:g' /media/kaldi_models/sample_english_nnet2.yaml
```
4) Instantiate master and worker on the same machine:
......@@ -159,8 +159,10 @@ docker run -it -p 8080:80 -v /media/kaldi_models:/opt/models jcsilva/docker-kald
6) On your host machine, download a client example and test your setup with a given audio:
```
wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/kaldigstserver/client.py -P /tmp
wget https://github.com/jcsilva/docker-kaldi-gstreamer-server/tree/master/audio/1272-128104-0000.wav -P /tmp
wget https://raw.githubusercontent.com/jcsilva/docker-kaldi-gstreamer-server/master/audio/1272-128104-0000.wav -P /tmp
wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/test/data/bill_gates-TED.mp3 -P /tmp
python /tmp/client.py -u ws://localhost:8080/client/ws/speech -r 32000 /tmp/1272-128104-0000.wav
python /tmp/client.py -u ws://localhost:8080/client/ws/speech -r 8192 /tmp/bill_gates-TED.mp3
```
OBS: For running the client example, you must install ws4py version 0.3.2. This can be installed using `pip install --user ws4py==0.3.2`. You may also need simplejson and pyaudio. They may also be installed using pip.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment