import gradio as gr | |
gr.load("models/openai/whisper-large-v2").launch() | |
iface = gr.Interface( | |
title="Speech-to-Text using Whisper v2", | |
description="Upload an audio file to transcribe it to text.", | |
theme="Monochrome", | |
live=True, | |
capture_session=True, | |
) | |
iface.launch() |