Spaces:
Running
Running
Fix typo
Browse files
app.py
CHANGED
|
@@ -141,7 +141,7 @@ allow_flagging = "never"
|
|
| 141 |
# description=description,
|
| 142 |
# allow_flagging=allow_flagging,
|
| 143 |
# )
|
| 144 |
-
#
|
| 145 |
# # demo = gr.TabbedInterface([microphone, file], ["Microphone", "Audio file"])
|
| 146 |
# # demo.queue().launch()
|
| 147 |
# # demo.launch()
|
|
@@ -170,6 +170,6 @@ with gr.Blocks() as demo:
|
|
| 170 |
|
| 171 |
output_selector.input(update_output, output_selector, output)
|
| 172 |
|
| 173 |
-
submit_btn.click(recognize, [audio, output_selector], [
|
| 174 |
|
| 175 |
demo.launch(debug=True)
|
|
|
|
| 141 |
# description=description,
|
| 142 |
# allow_flagging=allow_flagging,
|
| 143 |
# )
|
| 144 |
+
#
|
| 145 |
# # demo = gr.TabbedInterface([microphone, file], ["Microphone", "Audio file"])
|
| 146 |
# # demo.queue().launch()
|
| 147 |
# # demo.launch()
|
|
|
|
| 170 |
|
| 171 |
output_selector.input(update_output, output_selector, output)
|
| 172 |
|
| 173 |
+
submit_btn.click(recognize, [audio, output_selector], [output])
|
| 174 |
|
| 175 |
demo.launch(debug=True)
|