Skip to content

Commit dab6284

Browse files
committed
Update README
1 parent 6610678 commit dab6284

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/samp
143143
3) Update file contents:
144144
```
145145
find /media/kaldi_models/ -type f | xargs sed -i 's:test:/opt:g'
146-
sed -i 's:full-post-processor:#full-post-processor:g'
146+
sed -i 's:full-post-processor:#full-post-processor:g' /media/kaldi_models/sample_english_nnet2.yaml
147147
```
148148

149149
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
159159
6) On your host machine, download a client example and test your setup with a given audio:
160160
```
161161
wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/kaldigstserver/client.py -P /tmp
162-
wget https://github.com/jcsilva/docker-kaldi-gstreamer-server/tree/master/audio/1272-128104-0000.wav -P /tmp
162+
wget https://raw.githubusercontent.com/jcsilva/docker-kaldi-gstreamer-server/master/audio/1272-128104-0000.wav -P /tmp
163+
wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/test/data/bill_gates-TED.mp3 -P /tmp
163164
python /tmp/client.py -u ws://localhost:8080/client/ws/speech -r 32000 /tmp/1272-128104-0000.wav
165+
python /tmp/client.py -u ws://localhost:8080/client/ws/speech -r 8192 /tmp/bill_gates-TED.mp3
164166
```
165167

166168
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.

0 commit comments

Comments
 (0)