clr commited on
Commit
d0b4e13
·
1 Parent(s): 0e89078

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -50,10 +50,10 @@ with bl:
50
  with gr.Tabs():
51
  with gr.TabItem("Icelandic"):
52
  with gr.Row():
53
- audio_file = gr.Audio(type="filepath")
54
- text_output = gr.Textbox()
55
- text_button = gr.Button("Recognise")
56
- text_button.click(recc, inputs=[audio_file,model_is,processor_is], outputs=text_output)
57
  with gr.TabItem("Faroese"):
58
  with gr.Row():
59
  audio_file = gr.Audio(type="filepath")
 
50
  with gr.Tabs():
51
  with gr.TabItem("Icelandic"):
52
  with gr.Row():
53
+ audio_filei = gr.Audio(type="filepath")
54
+ text_outputi = gr.Textbox()
55
+ text_buttoni = gr.Button("Recognise")
56
+ text_buttoni.click(recc, inputs=[audio_filei,model_is,processor_is], outputs=text_outputi)
57
  with gr.TabItem("Faroese"):
58
  with gr.Row():
59
  audio_file = gr.Audio(type="filepath")