chrisjay commited on
Commit
75fd365
1 Parent(s): 8f4b37f

changed name of submit button in Hear tab

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -379,14 +379,14 @@ with block:
379
  #Shona (all male) - sna
380
  #Rundi (all male) - run
381
 
382
- gr.Markdown('''Here we are testing the models which we trained on the dataset collected.
383
 
384
- Choose a language from the dropdown, record your voice and select `Submit`.''')
385
 
386
  language_choice = gr.Dropdown(["Choose language","Igbo", "Oshiwambo", "Yoruba","Oromo","Shona","Rundi","MULTILINGUAL"],label="Choose language",default="Choose language")
387
  input_audio = gr.Audio(source="microphone",label='Record your voice',type='filepath')
388
  output_pred = gr.Label(num_top_classes=5)
389
- submit = gr.Button('Submit')
390
  submit.click(make_inference, inputs = [language_choice,input_audio], outputs = [output_pred])
391
 
392
  gr.Markdown(ARTICLE)
379
  #Shona (all male) - sna
380
  #Rundi (all male) - run
381
 
382
+ gr.Markdown("""Here we are testing the models which we trained on the dataset collected.
383
 
384
+ Choose a language from the dropdown, record your voice and select `See model's prediction`.""")
385
 
386
  language_choice = gr.Dropdown(["Choose language","Igbo", "Oshiwambo", "Yoruba","Oromo","Shona","Rundi","MULTILINGUAL"],label="Choose language",default="Choose language")
387
  input_audio = gr.Audio(source="microphone",label='Record your voice',type='filepath')
388
  output_pred = gr.Label(num_top_classes=5)
389
+ submit = gr.Button("See model's prediction")
390
  submit.click(make_inference, inputs = [language_choice,input_audio], outputs = [output_pred])
391
 
392
  gr.Markdown(ARTICLE)