Update app.py
#1
by
Teapack1
- opened
app.py
CHANGED
@@ -13,9 +13,9 @@ def transcribe(audio):
|
|
13 |
|
14 |
|
15 |
demo = gr.Interface(
|
16 |
-
transcribe,
|
17 |
-
gr.Audio(sources=
|
18 |
-
|
19 |
)
|
20 |
|
21 |
-
demo.launch()
|
|
|
13 |
|
14 |
|
15 |
demo = gr.Interface(
|
16 |
+
fn=transcribe,
|
17 |
+
inputs=gr.Audio(sources="upload"),
|
18 |
+
outputs=gr.outputs.Textbox(),
|
19 |
)
|
20 |
|
21 |
+
demo.launch(debug=True)
|