keithhon commited on
Commit
58ee119
1 Parent(s): 0040355

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ def load_models():
29
 
30
  def translation(source, target, text):
31
  if len(model_dict) == 2:
32
- model_name = 'nllb-distilled-600M'
33
 
34
  start_time = time.time()
35
  source = flores_codes[source]
@@ -68,7 +68,7 @@ if __name__ == '__main__':
68
 
69
  outputs = gr.outputs.JSON()
70
 
71
- title = "NLLB distilled 600M demo"
72
 
73
  demo_status = "Demo is running on CPU"
74
  description = f"Details: https://github.com/facebookresearch/fairseq/tree/nllb. {demo_status}"
 
29
 
30
  def translation(source, target, text):
31
  if len(model_dict) == 2:
32
+ model_name = 'nllb-distilled-1.3B'
33
 
34
  start_time = time.time()
35
  source = flores_codes[source]
 
68
 
69
  outputs = gr.outputs.JSON()
70
 
71
+ title = "NLLB distilled 1.3B distilled demo"
72
 
73
  demo_status = "Demo is running on CPU"
74
  description = f"Details: https://github.com/facebookresearch/fairseq/tree/nllb. {demo_status}"