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