NeerAbhy commited on
Commit
73644b1
·
verified ·
1 Parent(s): debbb72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -124,9 +124,9 @@ with demo:
124
  gr.Markdown("Speech analyzer")
125
  audio = gr.Audio(type="filepath", label = "Upload a file")
126
  text = gr.Textbox()
127
- source_lang = gr.Dropdown(label="Source language", choices=list(lang_id.keys()))
128
- b3 = gr.Button("Select language")
129
- b3.click(input = source_langauge)
130
  b1 = gr.Button("convert to text")
131
  b1.click(audio_a_text, inputs=audio, outputs=text)
132
 
 
124
  gr.Markdown("Speech analyzer")
125
  audio = gr.Audio(type="filepath", label = "Upload a file")
126
  text = gr.Textbox()
127
+ source_lang = gr.Dropdown(label="Source lang", choices=list(lang_id.keys()))
128
+ b3 = gr.Button("Select lang")
129
+ b3.click(input = source_lang)
130
  b1 = gr.Button("convert to text")
131
  b1.click(audio_a_text, inputs=audio, outputs=text)
132