akera commited on
Commit
1b67d49
1 Parent(s): 65a8b8b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -4
README.md CHANGED
@@ -43,7 +43,7 @@ tacotron2 = Tacotron2.from_hparams(source="speechbrain/tts-tacotron2-ljspeech",
43
  hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir_vocoder")
44
 
45
  # Running the TTS
46
- mel_output, mel_length, alignment = tacotron2.encode_text("Mary had a little lamb")
47
 
48
  # Running Vocoder (spectrogram-to-waveform)
49
  waveforms = hifi_gan.decode_batch(mel_output)
@@ -57,10 +57,11 @@ If you want to generate multiple sentences in one-shot, you can do in this way:
57
  ```
58
  from speechbrain.pretrained import Tacotron2
59
  tacotron2 = Tacotron2.from_hparams(source="speechbrain/TTS_Tacotron2", savedir="tmpdir")
 
60
  items = [
61
- "A quick brown fox jumped over the lazy dog",
62
- "How much wood would a woodchuck chuck?",
63
- "Never odd or even"
64
  ]
65
  mel_outputs, mel_lengths, alignments = tacotron2.encode_batch(items)
66
 
 
43
  hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir_vocoder")
44
 
45
  # Running the TTS
46
+ mel_output, mel_length, alignment = tacotron2.encode_text("Mbagaliza Christmass Enungi Nomwaka Omugya Gubaberere Gwamirembe")
47
 
48
  # Running Vocoder (spectrogram-to-waveform)
49
  waveforms = hifi_gan.decode_batch(mel_output)
 
57
  ```
58
  from speechbrain.pretrained import Tacotron2
59
  tacotron2 = Tacotron2.from_hparams(source="speechbrain/TTS_Tacotron2", savedir="tmpdir")
60
+
61
  items = [
62
+ "Nsanyuse okukulaba",
63
+ "Erinnya lyo ggwe ani?",
64
+ "Mbagaliza Christmass Enungi Nomwaka Omugya Gubaberere Gwamirembe"
65
  ]
66
  mel_outputs, mel_lengths, alignments = tacotron2.encode_batch(items)
67