myalexa / app.py
almncarlo's picture
Update app.py
78bc825 verified
raw
history blame
381 Bytes
import gradio as gr
from transformers import pipeline
pipe = pipeline(task="automatic-speech-recognition",
model="nvidia/canary-1b")
gr.Interface.from_pipeline(pipe,
title="Automatic Speech Recognition (ASR)",
description="Using pipeline with NVIDIA Canary",
).launch(inbrowser=True)