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)