Spaces:
Runtime error
Runtime error
audio to text
Browse files
app.py
CHANGED
|
@@ -421,7 +421,7 @@ with gr.Blocks(theme='ParityError/Anime') as iface :
|
|
| 421 |
image_button = gr.Button("process image")
|
| 422 |
with gr.Tab("speech to text"):
|
| 423 |
with gr.Row():
|
| 424 |
-
input_language = gr.Dropdown(languages, label="select the language",value="
|
| 425 |
audio_input = gr.Audio(label="speak",type="filepath",sources="microphone")
|
| 426 |
audio_output = gr.Markdown(label="output text")
|
| 427 |
audio_button = gr.Button("process audio")
|
|
|
|
| 421 |
image_button = gr.Button("process image")
|
| 422 |
with gr.Tab("speech to text"):
|
| 423 |
with gr.Row():
|
| 424 |
+
input_language = gr.Dropdown(languages, label="select the language",value="English",interactive=True)
|
| 425 |
audio_input = gr.Audio(label="speak",type="filepath",sources="microphone")
|
| 426 |
audio_output = gr.Markdown(label="output text")
|
| 427 |
audio_button = gr.Button("process audio")
|