anuragshas commited on
Commit
781aee4
β€’
1 Parent(s): 7ef1377

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="upload", type="filepath", label="Record your audio")
35
  ],
36
  outputs=[gr.outputs.Textbox()],
37
- examples=[["example1.wave"]],
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",