How to use from the
Use from the
Transformers library
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("Sunbird/tts-vits-lug", device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

This is a sunbird VITS model that was trained on high quality luganda data.

pip install unidecode
pip install https://github.com/SunbirdAI/vits/archive/inference.zip

from training.hf_wrapper import VITSInfereceAdapterModel
vits_model = VITSInfereceAdapterModel.from_pretrained("Sunbird/VITS_Luganda_Studio", G_net_path = "G_2800.pth")

from IPython.display import display, Audio
result = vits_model.encode_text("Njagala kugenda ku makerere kati",cleaner_names=["custom_cleaners"], cleaner_regex = ":!\?>\.;,")

display(Audio(result, rate=22000))
Downloads last month
322
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support