Skip to content

Commit 996d30e

Browse files
committed
Update README
1 parent 01dc45f commit 996d30e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,39 +128,39 @@ 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:
131+
1) Pull docker image:
132132
```
133133
docker pull jcsilva/docker-kaldi-gstreamer-server
134134
```
135135

136-
2. Download a valid kaldi model:
136+
2) Download a valid kaldi model:
137137
```
138138
cd /media/kaldi_models
139139
wget https://phon.ioc.ee/~tanela/tedlium_nnet_ms_sp_online.tgz
140140
tar -zxvf tedlium_nnet_ms_sp_online.tgz
141141
```
142142

143-
3. Copy an example yaml file to /media/kaldi_models:
143+
3) Copy an example yaml file to /media/kaldi_models:
144144
```
145145
wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/sample_english_nnet2.yaml -P /media/kaldi_models
146146
```
147147

148-
4. Update file paths:
148+
4) Update file paths:
149149
```
150150
find /media/kaldi_models/ -type f | xargs sed -i 's:test:/opt:g'
151151
```
152152

153-
5. Instantiate master and worker on the same machine:
153+
5) Instantiate master and worker on the same machine:
154154
```
155155
docker run -it -p 8080:80 -v /media/kaldi_models:/opt/models jcsilva/docker-kaldi-gstreamer-server:latest /bin/bash
156156
```
157157

158-
6. Inside the docker container, start the service:
158+
6) Inside the docker container, start the service:
159159
```
160160
/opt/start.sh -y /opt/models/sample_english_nnet2.yaml
161161
```
162162

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

0 commit comments

Comments
 (0)