aicodingfun commited on
Commit
8b5e508
·
verified ·
1 Parent(s): 09c9890

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -120,11 +120,11 @@ iface = gr.Interface(
120
  description='Upload your wav file to test the models (<i>First execution take about 20s to 30s, then next run in less than 1s</i>)',
121
  # thumbnail="",
122
  inputs=[
123
- gr.inputs.Audio(label='wav file', source='microphone', type='filepath'),
124
- gr.inputs.Dropdown(choices=list(models_paths.keys())),
125
  ],
126
  outputs=[
127
- gr.outputs.JSON(label='ASR -> Slot Recognition + Intent Classification + Language Classification'),
128
  ],
129
  examples=examples,
130
  article='Made with ❤️ by <a href="https://www.linkedin.com/in/yanis-labrak-8a7412145/" target="_blank">Yanis Labrak</a> thanks to 🤗',
 
120
  description='Upload your wav file to test the models (<i>First execution take about 20s to 30s, then next run in less than 1s</i>)',
121
  # thumbnail="",
122
  inputs=[
123
+ gr.Audio(label='wav file', source='microphone', type='filepath'),
124
+ gr.Dropdown(choices=list(models_paths.keys())),
125
  ],
126
  outputs=[
127
+ gr.JSON(label='ASR -> Slot Recognition + Intent Classification + Language Classification'),
128
  ],
129
  examples=examples,
130
  article='Made with ❤️ by <a href="https://www.linkedin.com/in/yanis-labrak-8a7412145/" target="_blank">Yanis Labrak</a> thanks to 🤗',