Text To Speech POC

This is a simple POC to test the Text To Speech functionality in Python.

Models

Installation

pip install -r requirements.txt -U

Add the following Env variables to your .env file:

HUGGINGFACEHUB_API_TOKEN=<YOUR_TOKEN>

Usage

Terminal

source .venv/bin/activate
py src/simple.py

IDE

Load Python Environment via the command pallette, and then use the debug option to run the main.py file.

Troubleshooting

SSL issues

Make sure you've configured your PIP SSL settings properly. You can do this by running the following command:

pip config set global.trusted-host \
    "pypi.org files.pythonhosted.org pypi.python.org" \
    --trusted-host=pypi.python.org \
    --trusted-host=pypi.org \
    --trusted-host=files.pythonhosted.org