Sonny George
Update app.py
324fd38
raw
history blame
429 Bytes
from transformers import pipeline
import gradio as gr
pipe = pipeline(model="sonnygeorge/whisper-tiny-papi")
def transcribe(audio):
text = pipe(audio)["text"]
return text
iface = gr.Interface(
fn=transcribe,
inputs=gr.Audio(),
outputs="text",
title="Whisper Tiny Papiamentu",
description="Realtime demo for Papiamentu speech recognition using a fine-tuned Whisper tiny model.",
)
iface.launch()