ipvikas commited on
Commit
b63e05a
1 Parent(s): 5662411

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -294,7 +294,7 @@ from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
294
  #def download_model():
295
  model_name = "facebook/mbart-large-50-many-to-many-mmt"
296
  model = MBartForConditionalGeneration.from_pretrained(model_name)
297
- tokenizer = MBart50Tokenizer.from_pretrained(model_name)
298
 
299
  #model, tokenizer = download_model()
300
 
 
294
  #def download_model():
295
  model_name = "facebook/mbart-large-50-many-to-many-mmt"
296
  model = MBartForConditionalGeneration.from_pretrained(model_name)
297
+ tokenizer = MBart50TokenizerFast.from_pretrained(model_name)
298
 
299
  #model, tokenizer = download_model()
300