Mediocreatmybest commited on
Commit
1700804
1 Parent(s): a760944

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -16
app.py CHANGED
@@ -5,23 +5,24 @@ import ast
5
 
6
  translation_task_names = {
7
  'English to French': 'translation_en_to_fr',
8
- 'French to English': 'translation_fr_to_en',
9
- 'English to Spanish': 'translation_en_to_es',
10
- 'Spanish to English': 'translation_es_to_en',
11
  'English to German': 'translation_en_to_de',
12
- 'German to English': 'translation_de_to_en',
13
- 'English to Italian': 'translation_en_to_it',
14
- 'Italian to English': 'translation_it_to_en',
15
- 'English to Dutch': 'translation_en_to_nl',
16
- 'Dutch to English': 'translation_nl_to_en',
17
- 'English to Portuguese': 'translation_en_to_pt',
18
- 'Portuguese to English': 'translation_pt_to_en',
19
- 'English to Russian': 'translation_en_to_ru',
20
- 'Russian to English': 'translation_ru_to_en',
21
- 'English to Chinese': 'translation_en_to_zh',
22
- 'Chinese to English': 'translation_zh_to_en',
23
- 'English to Japanese': 'translation_en_to_ja',
24
- 'Japanese to English': 'translation_ja_to_en',
 
25
  }
26
 
27
  model_names = {
 
5
 
6
  translation_task_names = {
7
  'English to French': 'translation_en_to_fr',
8
+ # 'French to English': 'translation_fr_to_en',
9
+ # 'English to Spanish': 'translation_en_to_es',
10
+ # 'Spanish to English': 'translation_es_to_en',
11
  'English to German': 'translation_en_to_de',
12
+ # 'German to English': 'translation_de_to_en',
13
+ # 'English to Italian': 'translation_en_to_it',
14
+ # 'Italian to English': 'translation_it_to_en',
15
+ # 'English to Dutch': 'translation_en_to_nl',
16
+ # 'Dutch to English': 'translation_nl_to_en',
17
+ # 'English to Portuguese': 'translation_en_to_pt',
18
+ # 'Portuguese to English': 'translation_pt_to_en',
19
+ # 'English to Russian': 'translation_en_to_ru',
20
+ # 'Russian to English': 'translation_ru_to_en',
21
+ # 'English to Chinese': 'translation_en_to_zh',
22
+ # 'Chinese to English': 'translation_zh_to_en',
23
+ # 'English to Japanese': 'translation_en_to_ja',
24
+ # 'Japanese to English': 'translation_ja_to_en',
25
+ 'English to Romanian': 'translation_en_to_ro',
26
  }
27
 
28
  model_names = {