Skip to content

Commit 95a7a78

Browse files
authored
Update README.md
1 parent 7da6e6f commit 95a7a78

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

examples/practical-example/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,22 @@ It is purely meant for creating a basic test system very quickly.
44
It creates a single Docker Image and starts the Kaldi master and a single worker. It also downloads a model.
55
Due to the size of the model it may take a while to build this docker image.
66

7-
#Steps to run
8-
Build the docker image:
7+
# Steps to run
8+
## Build the docker image
99
```
1010
docker build -t docker-kaldi-gstreamer-example:latest .
1111
```
1212

13-
Run the docker image:
13+
## Run the docker image:
1414
```
1515
docker run -itd -p 8080:80 --shm-size=256m docker-kaldi-gstreamer-example:latest
1616
1717
```
1818

19+
## Test the install
20+
On your host machine, download a client example and test your setup with a given audio:
21+
```
22+
wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/kaldigstserver/client.py -P /tmp
23+
wget https://raw.githubusercontent.com/alumae/kaldi-gstreamer-server/master/test/data/bill_gates-TED.mp3 -P /tmp
24+
python /tmp/client.py -u ws://localhost:8080/client/ws/speech -r 8192 /tmp/bill_gates-TED.mp3
25+
```

0 commit comments

Comments
 (0)