Spaces:
Running
Running
Update app.py
Browse files
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.
|
124 |
-
gr.
|
125 |
],
|
126 |
outputs=[
|
127 |
-
gr.
|
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 🤗',
|