Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -146,8 +146,8 @@ with demo:
|
|
146 |
text0 = gr.Textbox()
|
147 |
text = gr.Textbox()
|
148 |
text2 = gr.Textbox()
|
149 |
-
source_lang = gr.Dropdown(label="Source lang", choices=list(lang_id.keys()))
|
150 |
-
target_lang = gr.Dropdown(label="target lang", choices=list(lang_id.keys()))
|
151 |
|
152 |
#gr.Examples(examples = list(lang_id.keys()),
|
153 |
# inputs=[
|
|
|
146 |
text0 = gr.Textbox()
|
147 |
text = gr.Textbox()
|
148 |
text2 = gr.Textbox()
|
149 |
+
source_lang = gr.Dropdown(label="Source lang", choices=list(lang_id.keys()), value=list(lang_id.keys())[0])
|
150 |
+
target_lang = gr.Dropdown(label="target lang", choices=list(lang_id.keys()), value=list(lang_id.keys())[0])
|
151 |
|
152 |
#gr.Examples(examples = list(lang_id.keys()),
|
153 |
# inputs=[
|