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-8bit", revision="62103fc276a35fdc76e318f314d8ff47987fba89")
print(asr("audio.wav")["text"])