File size: 381 Bytes
def81e4 78bc825 def81e4 78bc825 |
1 2 3 4 5 6 7 8 9 |
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) |