Skip to content

Commit 8d38acd

Browse files
author
Botium
authored
Merge pull request #13 from codeforequity-at/develop
Version 1.0.0
2 parents a9d1282 + ea0659d commit 8d38acd

25 files changed

+681
-204
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
COMPOSE_PROJECT_NAME=botiumspeechprocessing
2+
TAG=latest

.env.develop

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
COMPOSE_PROJECT_NAME=botiumspeechprocessing
2+
TAG=develop

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
logs
1+
logs
2+
docker-compose.override.yml

Makefile

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
TAG_COMMIT := $(shell git rev-list --abbrev-commit --tags --max-count=1)
2+
VERSION := $(shell git describe --abbrev=0 --tags ${TAG_COMMIT} 2>/dev/null || true)
3+
4+
docker_build_develop:
5+
docker build -t botium/botium-speech-frontend:develop frontend
6+
docker build -t botium/botium-speech-watcher:develop watcher
7+
docker build -f stt/Dockerfile.kaldi.en -t botium/botium-speech-kaldi-en:develop stt
8+
docker build -f stt/Dockerfile.kaldi.de -t botium/botium-speech-kaldi-de:develop stt
9+
docker build -f tts/Dockerfile.marytts -t botium/botium-speech-marytts:develop tts
10+
docker build -t botium/botium-speech-dictate:develop dictate
11+
12+
docker_publish_develop:
13+
docker push botium/botium-speech-frontend:develop
14+
docker push botium/botium-speech-watcher:develop
15+
docker push botium/botium-speech-kaldi-en:develop
16+
docker push botium/botium-speech-kaldi-de:develop
17+
docker push botium/botium-speech-marytts:develop
18+
docker push botium/botium-speech-dictate:develop
19+
20+
docker_build_release:
21+
docker build -t botium/botium-speech-frontend:$(VERSION) frontend
22+
docker build -t botium/botium-speech-watcher:$(VERSION) watcher
23+
docker build -f stt/Dockerfile.kaldi.en -t botium/botium-speech-kaldi-en:$(VERSION) stt
24+
docker build -f stt/Dockerfile.kaldi.de -t botium/botium-speech-kaldi-de:$(VERSION) stt
25+
docker build -f tts/Dockerfile.marytts -t botium/botium-speech-marytts:$(VERSION) tts
26+
docker build -t botium/botium-speech-dictate:$(VERSION) dictate
27+
28+
docker_publish_release:
29+
docker push botium/botium-speech-frontend:$(VERSION)
30+
docker push botium/botium-speech-watcher:$(VERSION)
31+
docker push botium/botium-speech-kaldi-en:$(VERSION)
32+
docker push botium/botium-speech-kaldi-de:$(VERSION)
33+
docker push botium/botium-speech-marytts:$(VERSION)
34+
docker push botium/botium-speech-dictate:$(VERSION)
35+
36+
docker_latest_release:
37+
docker tag botium/botium-speech-frontend:$(VERSION) botium/botium-speech-frontend:latest
38+
docker push botium/botium-speech-frontend:latest
39+
40+
docker tag botium/botium-speech-watcher:$(VERSION) botium/botium-speech-watcher:latest
41+
docker push botium/botium-speech-watcher:latest
42+
43+
docker tag botium/botium-speech-kaldi-en:$(VERSION) botium/botium-speech-kaldi-en:latest
44+
docker push botium/botium-speech-kaldi-en:latest
45+
46+
docker tag botium/botium-speech-kaldi-de:$(VERSION) botium/botium-speech-kaldi-de:latest
47+
docker push botium/botium-speech-kaldi-de:latest
48+
49+
docker tag botium/botium-speech-marytts:$(VERSION) botium/botium-speech-marytts:latest
50+
docker push botium/botium-speech-marytts:latest
51+
52+
docker tag botium/botium-speech-dictate:$(VERSION) botium/botium-speech-dictate:latest
53+
docker push botium/botium-speech-dictate:latest

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66

77
Botium Speech Processing is a unified, developer-friendly API to the best available free and Open-Source Speech-To-Text and Text-To-Speech services.
88

9-
**UPDATE 2020/06/15:** As Chatbots grow in importance, automated testing solutions will remain critical for ensuring that Chatbots actually do what their designers intend. We've been busy working on a product that allows testers to have visual insights and deeper understanding in their Chatbot's performance, offering several solutions to boost their interaction!
10-
[Botium Coach will be introduced to the market as part of our online event on the 24th of June.](https://www.botium.ai/coach/)
11-
12-
[![](http://img.youtube.com/vi/WsNaDfZ7WHk/0.jpg)](http://www.youtube.com/watch?v=WsNaDfZ7WHk "Botium Coach is coming on 24th of June")
13-
149
## What is it ?
1510

1611
Botium Speech Processing is a *get-shit-done*-style Open-Source software stack, the configuration options are rudimentary: it is highly opinionated about the included tools, just get the shit done.
@@ -49,10 +44,11 @@ Clone or download this repository and start with docker-compose:
4944

5045
> docker-compose up -d
5146

52-
This will download the prebuilt images from Dockerhub.
47+
This will download the latest released prebuilt images from Dockerhub. To download the latest developer images from Dockerhub:
5348

54-
Point your browser to http://127.0.0.1 to open the [Swagger UI](https://swagger.io/tools/swagger-ui/) and browse/use the API definition.
49+
> docker-compose --env-file .env.develop up
5550

51+
Point your browser to http://127.0.0.1 to open the [Swagger UI](https://swagger.io/tools/swagger-ui/) and browse/use the API definition.
5652

5753
### Optional: Build Docker Images
5854

@@ -158,6 +154,12 @@ This project is standing on the shoulders of giants.
158154

159155
## Changelog
160156

157+
### 2020-12-18
158+
159+
* Adding support for Google Text-To-Speech
160+
* Adding support for listing and using available TTS voices
161+
* Added sample docker-compose configurations for PicoTTS and Google
162+
161163
### 2020-03-05
162164

163165
* Optional _start_/_end_ parameters for audio file conversion to trim an audio file by time codes formatted as mm:ss (_01:32_)

build_and_push.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

dictate/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ RUN curl -L -o dicatejs.zip "https://github.com/Kaljurand/dictate.js/archive/mas
1111

1212
EXPOSE 56100
1313

14+
USER node
1415
CMD DICTATEDIR=/app/dictate.js-master npm start

docker-compose-dev.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ services:
1010
frontend:
1111
build:
1212
context: frontend
13+
image: botium/botium-speech-frontend:develop
1314
restart: always
1415
volumes:
1516
- "./frontend/resources:/app/resources"
1617
watcher:
1718
build:
1819
context: watcher
20+
image: botium/botium-speech-watcher:develop
1921
restart: always
2022
volumes:
2123
- "./watcher:/app/watch"
@@ -24,22 +26,26 @@ services:
2426
build:
2527
context: stt
2628
dockerfile: Dockerfile.kaldi.en
29+
image: botium/botium-speech-kaldi-en:develop
2730
restart: always
2831
volumes:
2932
- "./logs/stt_en:/opt/logs"
3033
stt_de:
3134
build:
3235
context: stt
3336
dockerfile: Dockerfile.kaldi.de
37+
image: botium/botium-speech-kaldi-de:develop
3438
restart: always
3539
volumes:
3640
- "./logs/stt_de:/opt/logs"
3741
tts:
3842
build:
3943
context: tts
4044
dockerfile: Dockerfile.marytts
45+
image: botium/botium-speech-marytts:develop
4146
restart: always
4247
dictate:
4348
build:
4449
context: dictate
50+
image: botium/botium-speech-dictate:develop
4551
restart: always

docker-compose-google.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: '3'
2+
services:
3+
nginx:
4+
image: nginx
5+
restart: always
6+
volumes:
7+
- ./nginx.conf:/etc/nginx/nginx.conf
8+
ports:
9+
- 80:80
10+
frontend:
11+
image: botium/botium-speech-frontend:latest
12+
restart: always
13+
environment:
14+
BOTIUM_API_TOKENS:
15+
BOTIUM_SPEECH_PROVIDER_TTS: google
16+
BOTIUM_SPEECH_PROVIDER_STT: google
17+
BOTIUM_SPEECH_GOOGLE_CLIENT_EMAIL:
18+
BOTIUM_SPEECH_GOOGLE_PRIVATE_KEY:
19+
volumes:
20+
- "./frontend/resources:/app/resources"
21+
watcher:
22+
image: botium/botium-speech-watcher:latest
23+
restart: always
24+
volumes:
25+
- "./watcher:/app/watch"
26+
- "./logs/watcher:/app/logs"

docker-compose-picotts.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: '3'
2+
services:
3+
nginx:
4+
image: nginx
5+
restart: always
6+
volumes:
7+
- ./nginx.conf:/etc/nginx/nginx.conf
8+
ports:
9+
- 80:80
10+
frontend:
11+
image: botium/botium-speech-frontend:latest
12+
restart: always
13+
environment:
14+
BOTIUM_API_TOKENS:
15+
BOTIUM_SPEECH_PROVIDER_TTS: picotts
16+
BOTIUM_SPEECH_PROVIDER_STT: kaldi
17+
volumes:
18+
- "./frontend/resources:/app/resources"
19+
watcher:
20+
image: botium/botium-speech-watcher:latest
21+
restart: always
22+
volumes:
23+
- "./watcher:/app/watch"
24+
- "./logs/watcher:/app/logs"
25+
stt_en:
26+
image: botium/botium-speech-kaldi-en:latest
27+
restart: always
28+
volumes:
29+
- "./logs/stt_en:/opt/logs"
30+
stt_de:
31+
image: botium/botium-speech-kaldi-de:latest
32+
restart: always
33+
volumes:
34+
- "./logs/stt_de:/opt/logs"
35+
dictate:
36+
image: botium/botium-speech-dictate:latest
37+
restart: always

0 commit comments

Comments
 (0)