Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|