Update README.md
Browse files
README.md
CHANGED
@@ -82,7 +82,7 @@ torchaudio.save('example_TTS_input_phoneme.wav', waveforms.squeeze(1), 22050)
|
|
82 |
If you want to generate multiple sentences in one-shot, you can do in this way:
|
83 |
|
84 |
```python
|
85 |
-
from speechbrain.
|
86 |
fastspeech2 = FastSpeech2.from_hparams(source="speechbrain/tts-fastspeech2-ljspeech", savedir="tmpdir_tts")
|
87 |
items = [
|
88 |
"A quick brown fox jumped over the lazy dog",
|
|
|
82 |
If you want to generate multiple sentences in one-shot, you can do in this way:
|
83 |
|
84 |
```python
|
85 |
+
from speechbrain.inference.TTS import FastSpeech2
|
86 |
fastspeech2 = FastSpeech2.from_hparams(source="speechbrain/tts-fastspeech2-ljspeech", savedir="tmpdir_tts")
|
87 |
items = [
|
88 |
"A quick brown fox jumped over the lazy dog",
|