Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
datasets:
|
| 4 |
+
- Bingsu/KSS_Dataset
|
| 5 |
+
language:
|
| 6 |
+
- ko
|
| 7 |
+
tags:
|
| 8 |
+
- coqui-tts-pygoruut
|
| 9 |
+
- coqui
|
| 10 |
+
- tts
|
| 11 |
+
- pygoruut
|
| 12 |
+
---
|
| 13 |
+
# Coqui VITS KSS Korean TTS Model
|
| 14 |
+
|
| 15 |
+
# Requirements
|
| 16 |
+
|
| 17 |
+
- Python `3.10`
|
| 18 |
+
- coqui-tts-pygoruut `0.27.3`
|
| 19 |
+
|
| 20 |
+
# Install script
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
python3-alt.3-10 -m venv venv
|
| 24 |
+
./venv/bin/pip3 install coqui-tts-pygoruut
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
# Download the model
|
| 28 |
+
|
| 29 |
+
```bash
|
| 30 |
+
wget https://huggingface.co/neurlang/coqui-vits-kss-korean/resolve/main/best_model.pth -O /tmp/best_model.pth
|
| 31 |
+
wget https://huggingface.co/neurlang/coqui-vits-kss-korean/resolve/main/config.json -O /tmp/config.json
|
| 32 |
+
```
|
| 33 |
+
# Invoke TTS to File
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
./venv/bin/tts --text "์๋
ํ์ธ์ ์ธ์" --model_path /tmp/best_model.pth --config_path /tmp/config.json --out_path /tmp/synthesized.wav
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
# Invoke TTS
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
./venv/bin/tts --text "์๋
ํ์ธ์ ์ธ์" --model_path /tmp/best_model.pth --config_path /tmp/config.json --out_path /tmp/synthesized.wav --pipe_out | aplay
|
| 43 |
+
```
|