transformersSpeech recognition with the transformers pipeline.
import os
os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com"
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", model="mlx-community/whisper-large-v3-turbo-4bit", revision="0f058d38170d183f9fdee07908f5b515d91793a8")
print(asr("audio.wav")["text"])