radtts hifigan
v1.0
?? Присоединяйтесь к украинскому сообществу текста в речь: https://t.me/speech_synthesis_uk
Клонировать код:
git clone https://github.com/egorsmkv/radtts-hifigan
cd radtts-hifiganУстановить зависимости:
pip install -r requirements.txtСкачать модели украинских радттов и Hifigan:
mkdir models
cd models
wget https://github.com/egorsmkv/radtts-hifigan/releases/download/v1.0/hifi_config.json
wget https://github.com/egorsmkv/radtts-hifigan/releases/download/v1.0/hifi_vocoder.pt
wget https://github.com/egorsmkv/radtts-istftnet/releases/download/v1.0/RADTTS-Lada.ptЗатем вы можете сделать вывод по собственному текстам по следующей команде:
python3 inference.py -c config_ljs_dap.json -r models/RADTTS-Lada.pt -t test_sentences.txt --vocoder_path models/hifi_vocoder.pt --vocoder_config_path models/hifi_config.json -o results/