Skip to content

Commit 086b7ee

Browse files
committed
Update README
1 parent 996d30e commit 086b7ee

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,39 +128,34 @@ This section describes a tested example. You may repeat all the steps and, in th
128128

129129
On the host machine, we are going to work on the directory /media/kaldi_models. I'll assume you have all permissions necessary to execute the following commands.
130130

131-
1) Pull docker image:
132-
```
133-
docker pull jcsilva/docker-kaldi-gstreamer-server
134-
```
135-
136-
2) Download a valid kaldi model:
131+
1) Download a valid kaldi model:
137132
```
138133
cd /media/kaldi_models
139134
wget https://phon.ioc.ee/~tanela/tedlium_nnet_ms_sp_online.tgz
140135
tar -zxvf tedlium_nnet_ms_sp_online.tgz
141136
```
142137

143-
3) Copy an example yaml file to /media/kaldi_models:
138+
2) Copy an example yaml file to /media/kaldi_models:
144139
```
145140
wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/sample_english_nnet2.yaml -P /media/kaldi_models
146141
```
147142

148-
4) Update file paths:
143+
3) Update file paths:
149144
```
150145
find /media/kaldi_models/ -type f | xargs sed -i 's:test:/opt:g'
151146
```
152147

153-
5) Instantiate master and worker on the same machine:
148+
4) Instantiate master and worker on the same machine:
154149
```
155150
docker run -it -p 8080:80 -v /media/kaldi_models:/opt/models jcsilva/docker-kaldi-gstreamer-server:latest /bin/bash
156151
```
157152

158-
6) Inside the docker container, start the service:
153+
5) Inside the docker container, start the service:
159154
```
160155
/opt/start.sh -y /opt/models/sample_english_nnet2.yaml
161156
```
162157

163-
7) On your host machine, download a client example and test your setup with a given audio:
158+
6) On your host machine, download a client example and test your setup with a given audio:
164159
```
165160
wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/kaldigstserver/client.py -P /tmp
166161
wget https://github.com/alumae/kaldi-gstreamer-server/blob/master/test/data/bill_gates-TED.mp3 -P /tmp

0 commit comments

Comments
 (0)