my-alexa / app.py
jiuuee's picture
Update app.py
df83c07 verified
raw
history blame
384 Bytes
import gradio as gr
from transformers import pipeline
pipe = pipeline(task="automatic-speech-recognition",
model="openai/whisper-tiny")
gr.Interface.from_pipeline(pipe,
title="Automatic Speech Recognition (ASR)",
description="Using pipeline with OpenAI Whisper"
).launch(inbrowser=True)