Spaces:
Sleeping
Sleeping
Changes to make the src and tgt language much clear to the user
Browse files
app.py
CHANGED
|
@@ -83,8 +83,8 @@ with gr.Blocks(theme=gr.themes.Base()) as demo:
|
|
| 83 |
with gr.Column():
|
| 84 |
audio_in = gr.Audio(label="Audio Input (File or Mic)", type="filepath")
|
| 85 |
text_in = gr.Textbox(label="Text Input (Ignored if Audio is provided)", lines=3)
|
| 86 |
-
src_lang = gr.Dropdown(choices=["English", "Tagalog", "Cebuano"], value="
|
| 87 |
-
tgt_lang = gr.Dropdown(choices=["English", "Tagalog", "Cebuano"], value="
|
| 88 |
submit_btn = gr.Button("Process Translation", variant="primary")
|
| 89 |
|
| 90 |
with gr.Column():
|
|
|
|
| 83 |
with gr.Column():
|
| 84 |
audio_in = gr.Audio(label="Audio Input (File or Mic)", type="filepath")
|
| 85 |
text_in = gr.Textbox(label="Text Input (Ignored if Audio is provided)", lines=3)
|
| 86 |
+
src_lang = gr.Dropdown(choices=["English", "Tagalog", "Cebuano"], value="None",placeholder="Select Source Language", label="From")
|
| 87 |
+
tgt_lang = gr.Dropdown(choices=["English", "Tagalog", "Cebuano"], value="None",placeholder="Select Source Language", label="To")
|
| 88 |
submit_btn = gr.Button("Process Translation", variant="primary")
|
| 89 |
|
| 90 |
with gr.Column():
|