nisheeth commited on
Commit
77a9a5b
·
verified ·
1 Parent(s): a14296a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-3.3B': 'facebook/nllb-200-3.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,7 +73,7 @@ if __name__ == '__main__':
73
  title = "Machine Translation Demo"
74
 
75
  demo_status = "Demo is running on CPU"
76
- description = f"Details: https://github.com/facebookresearch/fairseq/tree/nllb. {demo_status}"
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
  ]