NeerAbhy commited on
Commit
e8d1519
·
verified ·
1 Parent(s): 47a0256

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -125,6 +125,8 @@ with demo:
125
  audio = gr.Audio(type="filepath", label = "Upload a file")
126
  text = gr.Textbox()
127
  source_lang = gr.selectbox(label="Source language", options=list(lang_id.keys()))
 
 
128
  b1 = gr.Button("convert to text")
129
  b1.click(audio_a_text, inputs=audio, outputs=text)
130
 
 
125
  audio = gr.Audio(type="filepath", label = "Upload a file")
126
  text = gr.Textbox()
127
  source_lang = gr.selectbox(label="Source language", options=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