from transformers import pipeline import gradio as gr pipe = pipeline(model="pchopalli/whisper-small-or") def transcribe(audio): text = pipe(audio)["text"] return text demo = gr.Interface( fn=transcribe, inputs=gr.Audio(type="filepath"), outputs="text", title="Whisper Small Oriya", description="Demo for Oriya speech recognition by fine-tuning a Whisper small model.", ) demo.launch(share=True)