A text-to-speech service implementation with predictive, dynamic load balancing
-
Install MySQl and run the queries in
database/create_tables.sql
-
Create file
database/mysql_credentials.py
with following detailsuser=<MYSQL_USERNAME> host='localhost' password=<MYSQL_PASSWORD> database='text2speech'
-
Install docker and docker-compose and run the following. This will spawn 3 worker nodes and 1 master node, each node being a Gunicorn server process.
docker-compose build docker-compose up
This repo makes use of FastSpeech for speech synthesis. Download the FastSpeech model into services/text2speech/FastSpeech/model_new/
from FastSpeech. We have removed the WaveGlow model from FastSpeech due to performance limitations.