Flare-TTS-v1.5 / prepare.sh
LH-Tech-AI's picture
Update prepare.sh
3203de4 verified
# Installs
pip install git+https://github.com/idiap/coqui-tts.git
sudo apt update && sudo apt install espeak -y
sudo apt install ffmpeg libavcodec-dev libavformat-dev libavutil-dev -y
pip install "coqui-tts[codec]"
wget https://data.keithito.com/data/speech/LJSpeech-1.1.tar.bz2
tar -xjf LJSpeech-1.1.tar.bz2
wget https://huggingface.co/LH-Tech-AI/Flare-TTS-28M/resolve/main/model.pth
wget https://huggingface.co/LH-Tech-AI/Flare-TTS-28M/resolve/main/config.json
# Start training
screen -S vocoder
PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True python3 train_vocoder.py