import gradio as gr from transformers import pipeline pipe = pipeline(task="automatic-speech-recognition", model="openai/whisper-tiny") gr.Interface.from_pipeline(pipe, title="My Alexa", description="Your AI assistant" ).launch(inbrowser=True)