hagenw commited on
Commit
dabc543
·
1 Parent(s): 6c903be
Files changed (1) hide show
  1. app.py +2 -2
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], [output_text])
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)