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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -34,15 +34,15 @@ 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),
42
  gr.Dropdown([1, 2, 3, 4, 5], label="number of beams", value=4),
43
  ],
44
  "text",
45
- title='Tyvan-Russian translaton',
46
  article=article,
47
  )
48
 
 
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),
42
  gr.Dropdown([1, 2, 3, 4, 5], label="number of beams", value=4),
43
  ],
44
  "text",
45
+ title='French-Fula translation',
46
  article=article,
47
  )
48