File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
examples/practical-example Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,22 @@ It is purely meant for creating a basic test system very quickly.
4
4
It creates a single Docker Image and starts the Kaldi master and a single worker. It also downloads a model.
5
5
Due to the size of the model it may take a while to build this docker image.
6
6
7
- #Steps to run
8
- Build the docker image:
7
+ # Steps to run
8
+ ## Build the docker image
9
9
```
10
10
docker build -t docker-kaldi-gstreamer-example:latest .
11
11
```
12
12
13
- Run the docker image:
13
+ ## Run the docker image:
14
14
```
15
15
docker run -itd -p 8080:80 --shm-size=256m docker-kaldi-gstreamer-example:latest
16
16
17
17
```
18
18
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
+ ```
You can’t perform that action at this time.
0 commit comments