akera commited on
Commit
e97f3f7
1 Parent(s): 3a4bd83

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -18,7 +18,7 @@ metrics:
18
 
19
  ### Text-to-Speech (TTS) with Tacotron2 trained on Male Commonvoice Recordings
20
 
21
- This repository provides all the necessary tools for Text-to-Speech (TTS) with SpeechBrain using a [Tacotron2](https://arxiv.org/abs/1712.05884) pretrained on [LJSpeech](https://keithito.com/LJ-Speech-Dataset/).
22
 
23
  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.
24
 
@@ -44,7 +44,7 @@ tacotron2 = Tacotron2.from_hparams(source="sunbird/sunbird-lug-tts-commonvoice-m
44
  hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir_vocoder")
45
 
46
  # Running the TTS
47
- mel_output, mel_length, alignment = tacotron2.encode_text("Mary had a little lamb")
48
 
49
  # Running Vocoder (spectrogram-to-waveform)
50
  waveforms = hifi_gan.decode_batch(mel_output)
 
18
 
19
  ### Text-to-Speech (TTS) with Tacotron2 trained on Male Commonvoice Recordings
20
 
21
+ This repository provides all the necessary tools for Text-to-Speech (TTS) with SpeechBrain.
22
 
23
  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.
24
 
 
44
  hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir_vocoder")
45
 
46
  # Running the TTS
47
+ mel_output, mel_length, alignment = tacotron2.encode_text("Mbagaliza Christmass Enungi Nomwaka Omugya Gubaberere Gwamirembe")
48
 
49
  # Running Vocoder (spectrogram-to-waveform)
50
  waveforms = hifi_gan.decode_batch(mel_output)