flutter-painter commited on
Commit
1ad6932
1 Parent(s): f54683b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,8 +34,8 @@ interface = gr.Interface(
34
  translate_wrapper,
35
  [
36
  gr.Textbox(label="Text", lines=2, placeholder='text to translate '),
37
- #gr.Dropdown(LANGUAGES_LIST, type="value", label='source language', value=LANGUAGES_LIST[0]),
38
- #gr.Dropdown(LANGUAGES_LIST, type="value", label='target language', value=LANGUAGES_LIST[1]),
39
  gr.Checkbox(label="by sentence", value=True),
40
  gr.Checkbox(label="text preprocesing", value=True),
41
  gr.Checkbox(label="randomize", value=False),
 
34
  translate_wrapper,
35
  [
36
  gr.Textbox(label="Text", lines=2, placeholder='text to translate '),
37
+ gr.Dropdown(LANGUAGES_LIST, type="value", label='source language', value=LANGUAGES_LIST[0]),
38
+ gr.Dropdown(LANGUAGES_LIST, type="value", label='target language', value=LANGUAGES_LIST[1]),
39
  gr.Checkbox(label="by sentence", value=True),
40
  gr.Checkbox(label="text preprocesing", value=True),
41
  gr.Checkbox(label="randomize", value=False),