speechbrainteam commited on
Commit
dd5d61d
1 Parent(s): 860a039

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -47,8 +47,8 @@ from speechbrain.inference.TTS import MSTacotron2
47
  from speechbrain.inference.vocoders import HIFIGAN
48
 
49
  # Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
50
- ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="tmpdir_tts")
51
- hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="tmpdir_vocoder")
52
 
53
  # Required input
54
  REFERENCE_SPEECH = "speech_sample.wav"
@@ -72,8 +72,8 @@ from speechbrain.inference.TTS import MSTacotron2
72
  from speechbrain.inference.vocoders import HIFIGAN
73
 
74
  # Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
75
- ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="tmpdir_tts")
76
- hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="tmpdir_vocoder")
77
 
78
  # Required input
79
  INPUT_TEXT = "Mary had a little lamb"
@@ -98,8 +98,8 @@ from speechbrain.inference.TTS import MSTacotron2
98
  from speechbrain.inference.vocoders import HIFIGAN
99
 
100
  # Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
101
- ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="tmpdir_tts")
102
- hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="tmpdir_vocoder")
103
 
104
  # Required input
105
  REFERENCE_SPEECH = "speech_sample.wav"
 
47
  from speechbrain.inference.vocoders import HIFIGAN
48
 
49
  # Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
50
+ ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="pretrained_models/tts-mstacotron2-libritts")
51
+ hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="pretrained_models/tts-hifigan-libritts-22050Hz")
52
 
53
  # Required input
54
  REFERENCE_SPEECH = "speech_sample.wav"
 
72
  from speechbrain.inference.vocoders import HIFIGAN
73
 
74
  # Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
75
+ ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="pretrained_models/tts-mstacotron2-libritt")
76
+ hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="pretrained_models/tts-hifigan-libritts-22050Hz")
77
 
78
  # Required input
79
  INPUT_TEXT = "Mary had a little lamb"
 
98
  from speechbrain.inference.vocoders import HIFIGAN
99
 
100
  # Intialize TTS (mstacotron2) and Vocoder (HiFIGAN)
101
+ ms_tacotron2 = MSTacotron2.from_hparams(source="speechbrain/tts-mstacotron2-libritts", savedir="pretrained_models/tts-mstacotron2-libritts")
102
+ hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-libritts-22050Hz", savedir="pretrained_models/tts-hifigan-libritts-22050Hz")
103
 
104
  # Required input
105
  REFERENCE_SPEECH = "speech_sample.wav"