sanchit-gandhi
commited on
Commit
·
fc8ed82
1
Parent(s):
4c99fb7
Fix Transformers code snippet
Browse filescc
@reach-vb
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")
|