Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
This is a sunbird VITS model that was trained on high quality luganda data.
|
2 |
+
|
3 |
+
```
|
4 |
+
pip install unidecode
|
5 |
+
pip install https://github.com/SunbirdAI/vits/archive/inference.zip
|
6 |
+
|
7 |
+
from training.hf_wrapper import VITSInfereceAdapterModel
|
8 |
+
vits_model = VITSInfereceAdapterModel.from_pretrained("Sunbird/VITS_Luganda_Studio", G_net_path = "G_2800.pth")
|
9 |
+
|
10 |
+
from IPython.display import display, Audio
|
11 |
+
result = vits_model.encode_text("Njagala kugenda ku makerere kati",cleaner_names=["custom_cleaners"], cleaner_regex = ":!\?>\.;,")
|
12 |
+
|
13 |
+
display(Audio(result, rate=22000))
|
14 |
+
```
|
15 |
+
|