Sunbird / sunbird-lug-tts

huggingface.co
Total runs: 59
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: February 01 2023
text-to-speech

Introduction of sunbird-lug-tts

Model Details of sunbird-lug-tts

Sunbird AI Text-to-Speech (TTS) model trained on Luganda text

Text-to-Speech (TTS) with Tacotron2 trained on Professional Studio Recordings

This repository provides all the necessary tools for Text-to-Speech (TTS) with SpeechBrain.

The pre-trained model takes in input a short text and produces a spectrogram in output. One can get the final waveform by applying a vocoder (e.g., HiFIGAN) on top of the generated spectrogram.

Install SpeechBrain
pip install speechbrain
Perform Text-to-Speech (TTS)
import torchaudio
from speechbrain.pretrained import Tacotron2
from speechbrain.pretrained import HIFIGAN

# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
tacotron2 = Tacotron2.from_hparams(source="/Sunbird/sunbird-lug-tts", savedir="tmpdir_tts")
hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir_vocoder")

# Running the TTS
mel_output, mel_length, alignment = tacotron2.encode_text("Mbagaliza Christmass Enungi Nomwaka Omugya Gubaberere Gwamirembe")

# Running Vocoder (spectrogram-to-waveform)
waveforms = hifi_gan.decode_batch(mel_output)

# Save the waverform
torchaudio.save('example_TTS.wav',waveforms.squeeze(1), 22050)

If you want to generate multiple sentences in one-shot, you can do in this way:

from speechbrain.pretrained import Tacotron2
tacotron2 = Tacotron2.from_hparams(source="speechbrain/TTS_Tacotron2", savedir="tmpdir")

items = [
       "Nsanyuse okukulaba",
       "Erinnya lyo ggwe ani?",
       "Mbagaliza Christmass Enungi Nomwaka Omugya Gubaberere Gwamirembe"
     ]
mel_outputs, mel_lengths, alignments = tacotron2.encode_batch(items)
Inference on GPU

To perform inference on the GPU, add run_opts={"device":"cuda"} when calling the from_hparams method.

Runs of Sunbird sunbird-lug-tts on huggingface.co

59
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About sunbird-lug-tts huggingface.co Model

More sunbird-lug-tts license Visit here:

https://choosealicense.com/licenses/apache-2.0

sunbird-lug-tts huggingface.co

sunbird-lug-tts huggingface.co is an AI model on huggingface.co that provides sunbird-lug-tts's model effect (), which can be used instantly with this Sunbird sunbird-lug-tts model. huggingface.co supports a free trial of the sunbird-lug-tts model, and also provides paid use of the sunbird-lug-tts. Support call sunbird-lug-tts model through api, including Node.js, Python, http.

sunbird-lug-tts huggingface.co Url

https://huggingface.co/Sunbird/sunbird-lug-tts

Sunbird sunbird-lug-tts online free

sunbird-lug-tts huggingface.co is an online trial and call api platform, which integrates sunbird-lug-tts's modeling effects, including api services, and provides a free online trial of sunbird-lug-tts, you can try sunbird-lug-tts online for free by clicking the link below.

Sunbird sunbird-lug-tts online free url in huggingface.co:

https://huggingface.co/Sunbird/sunbird-lug-tts

sunbird-lug-tts install

sunbird-lug-tts is an open source model from GitHub that offers a free installation service, and any user can find sunbird-lug-tts on GitHub to install. At the same time, huggingface.co provides the effect of sunbird-lug-tts install, users can directly use sunbird-lug-tts installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

sunbird-lug-tts install url in huggingface.co:

https://huggingface.co/Sunbird/sunbird-lug-tts

Url of sunbird-lug-tts

sunbird-lug-tts huggingface.co Url

Provider of sunbird-lug-tts huggingface.co

Sunbird
ORGANIZATIONS

Other API from Sunbird

huggingface.co

Total runs: 3.3K
Run Growth: 2.0K
Growth Rate: 60.05%
Updated:October 09 2025
huggingface.co

Total runs: 2.1K
Run Growth: 321
Growth Rate: 15.29%
Updated:October 09 2025
huggingface.co

Total runs: 263
Run Growth: 0
Growth Rate: 0.00%
Updated:July 01 2024
huggingface.co

Total runs: 15
Run Growth: 12
Growth Rate: 75.00%
Updated:October 19 2023
huggingface.co

Total runs: 14
Run Growth: -14
Growth Rate: -100.00%
Updated:February 14 2025
huggingface.co

Total runs: 10
Run Growth: 6
Growth Rate: 60.00%
Updated:September 11 2023
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:January 09 2023
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:February 10 2023
huggingface.co

Total runs: 3
Run Growth: -1
Growth Rate: -33.33%
Updated:December 14 2023
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:October 19 2023
huggingface.co

Total runs: 1
Run Growth: -43
Growth Rate: -4300.00%
Updated:October 19 2023
huggingface.co

Total runs: 1
Run Growth: 1
Growth Rate: 100.00%
Updated:February 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 08 2021