Update app.py
Browse files
app.py
CHANGED
@@ -5,4 +5,4 @@ whisper = gr.load("models/openai/whisper-small")
|
|
5 |
def transcribe(audio):
|
6 |
return whisper(audio)
|
7 |
|
8 |
-
gr.Interface(transcribe, gr.Audio(), gr.Textbox()).launch()
|
|
|
5 |
def transcribe(audio):
|
6 |
return whisper(audio)
|
7 |
|
8 |
+
gr.Interface(transcribe, gr.Audio(type="filepath"), gr.Textbox()).launch()
|