Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,10 +16,15 @@ def transcribe(audio):
|
|
16 |
|
17 |
demo = gr.Interface(
|
18 |
|
19 |
-
title = title,
|
20 |
-
transcribe,
|
21 |
-
gr.Audio(sources=["upload"]),
|
22 |
-
"text",
|
|
|
|
|
|
|
|
|
|
|
23 |
)
|
24 |
|
25 |
demo.launch()
|
|
|
16 |
|
17 |
demo = gr.Interface(
|
18 |
|
19 |
+
#title = title,
|
20 |
+
#transcribe,
|
21 |
+
#gr.Audio(sources=["upload"]),
|
22 |
+
#"text",
|
23 |
+
fn=transcribe,
|
24 |
+
inputs=gr.Audio(sources=["upload"]),
|
25 |
+
outputs="text",
|
26 |
+
live=True,
|
27 |
+
title=title,
|
28 |
)
|
29 |
|
30 |
demo.launch()
|