not-lain commited on
Commit
04dc855
1 Parent(s): 1ffa7d4

audio to text

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="French",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")
 
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")