Sharfraz's picture
Create 1
a08a4b1 verified
raw
history blame
177 Bytes
from transformers import pipeline
whisper_model = pipeline(
"automatic-speech-recognition",
model="openai/whisper-small",
framework="pt" # Force PyTorch backend
)