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