Spaces:
Runtime error
Runtime error
File size: 377 Bytes
3ece66a |
1 2 3 4 5 6 7 8 |
from transformers import AutoProcessor, AutoModelForPreTraining
processor = AutoProcessor.from_pretrained("patrickvonplaten/mms-1b")
model = AutoModelForPreTraining.from_pretrained("patrickvonplaten/mms-1b")
cd /path/to/fairseq-py/
python examples/mms/asr/infer/mms_infer.py --model "/path/to/asr/model" --lang lang_code --audio "/path/to/audio_1.wav" "/path/to/audio_1.wav" |