ipvikas commited on
Commit
25e7910
1 Parent(s): 7f2a0c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -289,9 +289,9 @@ from transformers import MBartForConditionalGeneration, MBart50Tokenizer
289
 
290
 
291
  ################################
292
- model_name = "facebook/mbart-large-50-many-to-many-mmt"
293
- model = MBartForConditionalGeneration.from_pretrained(model_name)
294
- tokenizer = MBart50Tokenizer.from_pretrained(model_name)
295
 
296
  def get_response(input_text):
297
  #model_inputs = tokenizer(input_text, return_tensors="pt")
 
289
 
290
 
291
  ################################
292
+ #model_name = "facebook/mbart-large-50-many-to-many-mmt"
293
+ #model = MBartForConditionalGeneration.from_pretrained(model_name)
294
+ #tokenizer = MBart50Tokenizer.from_pretrained(model_name)
295
 
296
  def get_response(input_text):
297
  #model_inputs = tokenizer(input_text, return_tensors="pt")