Ahsen Khaliq commited on
Commit
c85ccee
1 Parent(s): 098d68e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def inference(audio, model):
43
  text, *_ = nbests[0]
44
  return f"ASR hypothesis: {text_normalizer(text)}"
45
 
46
- inputs = [gr.inputs.Audio(label="Input Audio", type="file"),gradio.inputs.Dropdown(choices=["ftshijt/open_li52_asr_train_asr_raw_bpe7000_valid.acc.ave_10best","Shinji Watanabe/spgispeech_asr_train_asr_conformer6_n_fft512_hop_length256_raw_en_unnorm_bpe5000_valid.acc.ave"], type="value", default="ftshijt/open_li52_asr_train_asr_raw_bpe7000_valid.acc.ave_10best", label="model")]
47
  outputs = gr.outputs.Textbox(label="Output Text")
48
 
49
  title = "ESPnet2-ASR"
 
43
  text, *_ = nbests[0]
44
  return f"ASR hypothesis: {text_normalizer(text)}"
45
 
46
+ inputs = [gr.inputs.Audio(label="Input Audio", type="file"),gr.inputs.Dropdown(choices=["ftshijt/open_li52_asr_train_asr_raw_bpe7000_valid.acc.ave_10best","Shinji Watanabe/spgispeech_asr_train_asr_conformer6_n_fft512_hop_length256_raw_en_unnorm_bpe5000_valid.acc.ave"], type="value", default="ftshijt/open_li52_asr_train_asr_raw_bpe7000_valid.acc.ave_10best", label="model")]
47
  outputs = gr.outputs.Textbox(label="Output Text")
48
 
49
  title = "ESPnet2-ASR"