Mediocreatmybest commited on
Commit
c633a4d
1 Parent(s): 0bafb6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -16,8 +16,8 @@ translation_task_names = {
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',
@@ -34,10 +34,9 @@ model_names = {
34
  'DDDSSS/translation_en-zh': 'DDDSSS/translation_en-zh',
35
  'T5-Base-nl-en': 'yhavinga/t5-base-36L-ccmatrix-multi',
36
  'T5-Small-nl-en': 'yhavinga/t5-small-24L-ccmatrix-multi',
37
- 'Opus-Sv-En-Test': 'Helsinki-NLP/opus-mt-sv-en',
38
-
39
-
40
-
41
  }
42
 
43
  # Create a dictionary to store loaded models
 
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',
 
34
  'DDDSSS/translation_en-zh': 'DDDSSS/translation_en-zh',
35
  'T5-Base-nl-en': 'yhavinga/t5-base-36L-ccmatrix-multi',
36
  'T5-Small-nl-en': 'yhavinga/t5-small-24L-ccmatrix-multi',
37
+ 'Opus-Sv-En': 'Helsinki-NLP/opus-mt-sv-en',
38
+ 'Opus-En-Ru': 'Helsinki-NLP/opus-mt-en-ru',
39
+ 'Opus-Ru-En': 'Helsinki-NLP/opus-mt-ru-en',
 
40
  }
41
 
42
  # Create a dictionary to store loaded models