The Narration microservice takes text input and generates audio narration using Text-to-Speech.
- Ensure that git is installed on your machine. Download Git
- Docker is used for the backend and database setup. Download Docker
Create a .env file in the root directory of the project by copying the .env.example file and updating the values accordingly.
cp .env.example .envConfigure the pre-commit hooks by running the following command in the terminal:
pip install pre-commit
pre-commit installTo run the application, execute the following commands:
docker compose up --buildThe application will be available at http://localhost:8001 and the API documentation will be available at http://localhost:8001/docs.
To run the tests, execute the following command:
docker compose run server pytest- TTS Providers list of popular TTS providers and their features with pricing.
- Developer setup