Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- app/draw_diagram.py +1 -1
- app/pages.py +4 -1
app/draw_diagram.py
CHANGED
@@ -395,7 +395,7 @@ def draw_flores_translation(category_one, category_two, sorted):
|
|
395 |
category_two_dict = {'Indonesian to English': 'ind2eng',
|
396 |
'Vitenamese to English': 'vie2eng',
|
397 |
'Chinese to English': 'zho2eng',
|
398 |
-
'
|
399 |
|
400 |
subtitle = category_two_dict[category_two]
|
401 |
|
|
|
395 |
category_two_dict = {'Indonesian to English': 'ind2eng',
|
396 |
'Vitenamese to English': 'vie2eng',
|
397 |
'Chinese to English': 'zho2eng',
|
398 |
+
'Malay to English': 'zsm2eng'}
|
399 |
|
400 |
subtitle = category_two_dict[category_two]
|
401 |
|
app/pages.py
CHANGED
@@ -155,7 +155,10 @@ def flores():
|
|
155 |
st.title("FLORES-Translation")
|
156 |
|
157 |
filters_levelone = ['Zero Shot', 'Few Shot']
|
158 |
-
filters_leveltwo = ['Indonesian to English',
|
|
|
|
|
|
|
159 |
|
160 |
category_one_dict = {'Zero Shot': 'zero_shot',
|
161 |
'Few Shot': 'few_shot'}
|
|
|
155 |
st.title("FLORES-Translation")
|
156 |
|
157 |
filters_levelone = ['Zero Shot', 'Few Shot']
|
158 |
+
filters_leveltwo = ['Indonesian to English',
|
159 |
+
'Vitenamese to English',
|
160 |
+
'Chinese to English',
|
161 |
+
'Malay to English']
|
162 |
|
163 |
category_one_dict = {'Zero Shot': 'zero_shot',
|
164 |
'Few Shot': 'few_shot'}
|