Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from flores200_codes import flores_codes
|
|
9 |
def load_models():
|
10 |
# build model and tokenizer
|
11 |
model_name_dict = {
|
12 |
-
'nllb-
|
13 |
#'nllb-distilled-600M': 'facebook/nllb-200-distilled-600M',
|
14 |
#'nllb-1.3B': 'facebook/nllb-200-1.3B',
|
15 |
#'nllb-distilled-1.3B': 'facebook/nllb-200-distilled-1.3B',
|
@@ -73,7 +73,7 @@ if __name__ == '__main__':
|
|
73 |
title = "Machine Translation Demo"
|
74 |
|
75 |
demo_status = "Demo is running on CPU"
|
76 |
-
description = f"
|
77 |
examples = [
|
78 |
['English', 'Hindi', 'Hi. nice to meet you']
|
79 |
]
|
|
|
9 |
def load_models():
|
10 |
# build model and tokenizer
|
11 |
model_name_dict = {
|
12 |
+
'nllb-1.3B': 'facebook/nllb-200-1.3B',
|
13 |
#'nllb-distilled-600M': 'facebook/nllb-200-distilled-600M',
|
14 |
#'nllb-1.3B': 'facebook/nllb-200-1.3B',
|
15 |
#'nllb-distilled-1.3B': 'facebook/nllb-200-distilled-1.3B',
|
|
|
73 |
title = "Machine Translation Demo"
|
74 |
|
75 |
demo_status = "Demo is running on CPU"
|
76 |
+
description = f"{demo_status}"
|
77 |
examples = [
|
78 |
['English', 'Hindi', 'Hi. nice to meet you']
|
79 |
]
|