Adel-Moumen
commited on
Commit
•
d01e530
1
Parent(s):
f0c9855
Update README.md
Browse files
README.md
CHANGED
@@ -35,10 +35,10 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
35 |
|
36 |
### Perform Text-to-Speech (TTS)
|
37 |
|
38 |
-
```
|
39 |
import torchaudio
|
40 |
-
from speechbrain.
|
41 |
-
from speechbrain.
|
42 |
|
43 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
44 |
tacotron2 = Tacotron2.from_hparams(source="speechbrain/tts-tacotron2-ljspeech", savedir="tmpdir_tts")
|
|
|
35 |
|
36 |
### Perform Text-to-Speech (TTS)
|
37 |
|
38 |
+
```python
|
39 |
import torchaudio
|
40 |
+
from speechbrain.inference.TTS import Tacotron2
|
41 |
+
from speechbrain.inference.vocoders import HIFIGAN
|
42 |
|
43 |
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
|
44 |
tacotron2 = Tacotron2.from_hparams(source="speechbrain/tts-tacotron2-ljspeech", savedir="tmpdir_tts")
|