Update app.py
Browse files
app.py
CHANGED
|
@@ -23,12 +23,13 @@ def transcribe(audio):
|
|
| 23 |
|
| 24 |
|
| 25 |
gr.Interface(
|
| 26 |
-
title
|
| 27 |
fn=transcribe,
|
| 28 |
inputs=[
|
| 29 |
-
gr.Audio(
|
| 30 |
],
|
| 31 |
outputs=[
|
| 32 |
"textbox"
|
| 33 |
],
|
| 34 |
live=True).launch()
|
|
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
gr.Interface(
|
| 26 |
+
title='OpenAI-Whisper Audio to Text Web UI',
|
| 27 |
fn=transcribe,
|
| 28 |
inputs=[
|
| 29 |
+
gr.Audio(type="filepath")
|
| 30 |
],
|
| 31 |
outputs=[
|
| 32 |
"textbox"
|
| 33 |
],
|
| 34 |
live=True).launch()
|
| 35 |
+
|