Sitelet https://github.com/peitify/TypeAgent/tree/main/python/tts/speechT5
Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Local TTS using SpeechT5 for TypeAgent shell

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

Setup

Install

Option 1: Batch file

  • Windows:
  • MacOS/Linux:
    • Run source setup.sh

Option 2: Manual steps

  • Create and activate a python virtual environment.
  • pip config --site set global.extra-index-url https://download.pytorch.org/whl/cu121
  • pip install -r requirements.txt

Usage

  • Start the service python speechT5.py
  • In TypeAgent shell, change the TTS provider to local and choose a voice.