This is a simple example of how to use the Hugging Face Hub for text to speech.
- Must have Python3.
- Get repository
git clone https://github.com/msuliot/huggingface_text_to_speech.git
- use pip3 to install any dependencies.
pip3 install -r requirements.txt
This will download the model, tokenizer and dataset to your local machine and run on your local machine.
- microsoft/speecht5_tts
- microsoft/speecht5_hifigan
- Matthijs/cmu-arctic-xvectors
python3 local.py