Spaces:
Running
Running
title: "Ukrainian TTS" | |
emoji: πΊπ¦ | |
colorFrom: green | |
colorTo: green | |
sdk: gradio | |
app_file: app.py | |
pinned: false | |
# Ukrainian TTS π’π€ | |
Ukrainian TTS (text-to-speech) using Coqui TTS. | |
Trained on [M-AILABS Ukrainian dataset](https://www.caito.de/2019/01/the-m-ailabs-speech-dataset/). | |
Link to online demo -> [https://huggingface.co/spaces/robinhad/ukrainian-tts](https://huggingface.co/spaces/robinhad/ukrainian-tts) | |
# Support | |
If you like my work, please support -> ![mono](https://www.monobank.ua/favicon.ico) [SUPPORT LINK](https://send.monobank.ua/jar/48iHq4xAXm) | |
# Example | |
https://user-images.githubusercontent.com/5759207/149566245-40656002-3999-48a8-b671-e0f74c3d6e2f.mp4 | |
# How to use : | |
1. `pip install -r requirements.txt`. | |
2. Download model from "Releases" tab. | |
3. Launch as one-time command: | |
``` | |
tts --text "Text for TTS" \ | |
--model_path path/to/model.pth.tar \ | |
--config_path path/to/config.json \ | |
--out_path folder/to/save/output.wav | |
``` | |
or alternatively launch web server using: | |
``` | |
tts-server --model_path path/to/model.pth.tar \ | |
--config_path path/to/config.json | |
``` | |
# How to train: | |
1. Refer to ["Nervous beginner guide"](https://tts.readthedocs.io/en/latest/tutorial_for_nervous_beginners.html) in Coqui TTS docs. | |
2. Instead of provided `config.json` use one from this repo. | |
# Attribution | |
Code for `app.py` taken from https://huggingface.co/spaces/julien-c/coqui | |