Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,7 @@ def transcribe(audio_path : str) -> str:
|
|
12 |
|
13 |
demo = gr.Interface(
|
14 |
fn=transcribe,
|
15 |
-
|
16 |
-
inputs=gr.inputs.Audio(label="Upload audio file", type="filepath"),
|
17 |
outputs="text"
|
18 |
)
|
19 |
|
|
|
12 |
|
13 |
demo = gr.Interface(
|
14 |
fn=transcribe,
|
15 |
+
inputs=[gr.inputs.Audio(label="Upload audio file", type="filepath"), "microphone"],
|
|
|
16 |
outputs="text"
|
17 |
)
|
18 |
|