This directory contains an example of local Text to speech (TTS) server that works with the TypeAgent shell. TTS is implemented using SpeechT5 framework and the
Option 1: Batch file
- Windows:
- Run ./setup.cmd
- MacOS/Linux:
- Run
source setup.sh
- Run
Option 2: Manual steps
- Create and activate a python virtual environment.
pip config --site set global.extra-index-url https://download.pytorch.org/whl/cu121pip install -r requirements.txt
- Start the service
python speechT5.py - In TypeAgent shell, change the TTS provider to local and choose a voice.