Update app.py
Browse files
app.py
CHANGED
@@ -50,10 +50,10 @@ with bl:
|
|
50 |
with gr.Tabs():
|
51 |
with gr.TabItem("Icelandic"):
|
52 |
with gr.Row():
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
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")
|