jkang commited on
Commit
eadd8d7
1 Parent(s): 4766560

Update gradio_asr_en_libri100_word_vs_bpe.py

Browse files

change "microphone" to "upload"

gradio_asr_en_libri100_word_vs_bpe.py CHANGED
@@ -73,7 +73,7 @@ iface = gr.Interface(
73
  title='Comparison between word vs BPE tokens based on ESPNet2 ASR models',
74
  description='Two models were trained on Librispeech (clean-100h)',
75
  inputs=[
76
- gr.inputs.Audio(label='wav file', source='microphone', type='filepath')
77
  ],
78
  outputs=[
79
  gr.outputs.Textbox(label='Decoding result (BPE 기반 model)'),
 
73
  title='Comparison between word vs BPE tokens based on ESPNet2 ASR models',
74
  description='Two models were trained on Librispeech (clean-100h)',
75
  inputs=[
76
+ gr.inputs.Audio(label='wav file', source='upload', type='filepath')
77
  ],
78
  outputs=[
79
  gr.outputs.Textbox(label='Decoding result (BPE 기반 model)'),