whisper / app.py
charliebaby2023's picture
Update app.py
e2da784 verified
raw
history blame contribute delete
205 Bytes
import gradio as gr
whisper = gr.load("models/openai/whisper-small")
def transcribe(audio):
return whisper(audio)
gr.Interface(transcribe, gr.Audio(type="filepath"), gr.Textbox()).launch(share=True)