Views
No views yet
1from transformers import pipeline 2asr = pipeline("automatic-speech-recognition", model="Menhaz/distil-whisper-torgo") 3result = asr("path/to/audio.wav") 4print(result["text"])