Fix Transformers code snippet
#8
by
sanchit-gandhi
- opened
README.md
CHANGED
@@ -168,6 +168,7 @@ pip install git+https://github.com/huggingface/transformers.git sentencepiece
|
|
168 |
|
169 |
```py
|
170 |
from transformers import AutoProcessor, SeamlessM4Tv2Model
|
|
|
171 |
|
172 |
processor = AutoProcessor.from_pretrained("facebook/seamless-m4t-v2-large")
|
173 |
model = SeamlessM4Tv2Model.from_pretrained("facebook/seamless-m4t-v2-large")
|
|
|
168 |
|
169 |
```py
|
170 |
from transformers import AutoProcessor, SeamlessM4Tv2Model
|
171 |
+
import torchaudio
|
172 |
|
173 |
processor = AutoProcessor.from_pretrained("facebook/seamless-m4t-v2-large")
|
174 |
model = SeamlessM4Tv2Model.from_pretrained("facebook/seamless-m4t-v2-large")
|