Commit
•
2aa5106
1
Parent(s):
c05a251
Update README.md
Browse files
README.md
CHANGED
@@ -50,8 +50,8 @@ waveform = hifi_gan_unit.decode_unit(codes)
|
|
50 |
```python
|
51 |
import torch
|
52 |
import torchaudio
|
53 |
-
from speechbrain.
|
54 |
-
from speechbrain.
|
55 |
|
56 |
# Intialize S2UT (Transformer) and Vocoder (HiFIGAN Unit)
|
57 |
s2ut = EncoderDecoderS2UT.from_hparams(source="speechbrain/s2st-transformer-fr-en-hubert-l6-k100-cvss", savedir="tmpdir_s2ut")
|
|
|
50 |
```python
|
51 |
import torch
|
52 |
import torchaudio
|
53 |
+
from speechbrain.inference.ST import EncoderDecoderS2UT
|
54 |
+
from speechbrain.inference.vocoders import UnitHIFIGAN
|
55 |
|
56 |
# Intialize S2UT (Transformer) and Vocoder (HiFIGAN Unit)
|
57 |
s2ut = EncoderDecoderS2UT.from_hparams(source="speechbrain/s2st-transformer-fr-en-hubert-l6-k100-cvss", savedir="tmpdir_s2ut")
|