Spaces:
Sleeping
Sleeping
from transformers import pipeline | |
import gradio as gr | |
pipe = pipeline(model="Abosteet/whisper-medium-arabic") | |
def transcribe(audio): | |
text = pipe(audio)["text"] | |
return text | |
iface = gr.Interface( | |
fn=transcribe, | |
inputs=gr.Audio(type="filepath"), | |
outputs="text", | |
title="The Arab Whisper", | |
description="Arabic speech recognition using a fine-tuned Whisper medium model.", | |
) | |
iface.launch(inline=False) |