Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def transcribeMic(audio):
|
|
18 |
|
19 |
app1 = gr.Interface(
|
20 |
fn=transcribeFile,
|
21 |
-
inputs=gr.inputs.Audio(label="Upload audio file", type="filepath"),
|
22 |
outputs="text",
|
23 |
title=title
|
24 |
)
|
|
|
18 |
|
19 |
app1 = gr.Interface(
|
20 |
fn=transcribeFile,
|
21 |
+
inputs=[gr.inputs.Audio(label="Upload audio file", type="filepath"), gr.Audio(source="microphone", type="filepath")],
|
22 |
outputs="text",
|
23 |
title=title
|
24 |
)
|