Spaces:
Runtime error
Runtime error
anuragshas
commited on
Commit
β’
781aee4
1
Parent(s):
7ef1377
Update app.py
Browse files
app.py
CHANGED
@@ -31,10 +31,10 @@ def predict_and_ctc_lm_decode(input_file):
|
|
31 |
gr.Interface(
|
32 |
predict_and_ctc_lm_decode,
|
33 |
inputs=[
|
34 |
-
gr.inputs.Audio(source="
|
35 |
],
|
36 |
outputs=[gr.outputs.Textbox()],
|
37 |
-
examples=[["example1.
|
38 |
title="Hindi ASR using Wav2Vec2-1B with LM",
|
39 |
description="Built during Robust Speech Event",
|
40 |
layout="horizontal",
|
|
|
31 |
gr.Interface(
|
32 |
predict_and_ctc_lm_decode,
|
33 |
inputs=[
|
34 |
+
gr.inputs.Audio(source="microphone", type="filepath", label="Record your audio")
|
35 |
],
|
36 |
outputs=[gr.outputs.Textbox()],
|
37 |
+
examples=[["example1.wav"]],
|
38 |
title="Hindi ASR using Wav2Vec2-1B with LM",
|
39 |
description="Built during Robust Speech Event",
|
40 |
layout="horizontal",
|