Spaces:
Build error
Build error
changed name of submit button in Hear tab
Browse files
app.py
CHANGED
@@ -379,14 +379,14 @@ with block:
|
|
379 |
#Shona (all male) - sna
|
380 |
#Rundi (all male) - run
|
381 |
|
382 |
-
gr.Markdown(
|
383 |
|
384 |
-
Choose a language from the dropdown, record your voice and select `
|
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('
|
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)
|