Update app.py
Browse files
app.py
CHANGED
|
@@ -26,13 +26,13 @@ def transcribe_wrapper_fn(audio, LANG):
|
|
| 26 |
|
| 27 |
mic_transcribe = gr.Interface(
|
| 28 |
fn=transcribe_wrapper_fn,
|
| 29 |
-
inputs=[gr.Audio(sources=["microphone"], type="filepath"), gr.Dropdown(["Asante Twi","
|
| 30 |
outputs=gr.Textbox(),
|
| 31 |
)
|
| 32 |
|
| 33 |
file_transcribe = gr.Interface(
|
| 34 |
fn=transcribe_wrapper_fn,
|
| 35 |
-
inputs=[gr.Audio(sources=["upload"], type="filepath"), gr.Dropdown(["Asante Twi","
|
| 36 |
outputs=gr.Textbox(),
|
| 37 |
)
|
| 38 |
|
|
|
|
| 26 |
|
| 27 |
mic_transcribe = gr.Interface(
|
| 28 |
fn=transcribe_wrapper_fn,
|
| 29 |
+
inputs=[gr.Audio(sources=["microphone"], type="filepath"), gr.Dropdown(["Asante Twi","Adangme","Ewe","Fante","French","Ga","Nzema","African English"], value="Asante Twi", multiselect=False, label="Language", info="Select Lamguage")],
|
| 30 |
outputs=gr.Textbox(),
|
| 31 |
)
|
| 32 |
|
| 33 |
file_transcribe = gr.Interface(
|
| 34 |
fn=transcribe_wrapper_fn,
|
| 35 |
+
inputs=[gr.Audio(sources=["upload"], type="filepath"), gr.Dropdown(["Asante Twi","Adangme","Ewe","Fante","French","Ga","Nzema","African English"], value="Asante Twi", multiselect=False, label="Language", info="Select Lamguage")],
|
| 36 |
outputs=gr.Textbox(),
|
| 37 |
)
|
| 38 |
|