storresbusquets commited on
Commit
07bed83
·
1 Parent(s): a43fcdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ class GradioInference:
39
  self.classifier = pipeline("text-classification")
40
 
41
 
42
- self.tokenizer = AutoTokenizer.from_pretrained(model_name)
43
  self.model = AutoModelForSeq2SeqLM.from_pretrained("csebuetnlp/mT5_multilingual_XLSum")
44
 
45
 
 
39
  self.classifier = pipeline("text-classification")
40
 
41
 
42
+ self.tokenizer = AutoTokenizer.from_pretrained("csebuetnlp/mT5_multilingual_XLSum")
43
  self.model = AutoModelForSeq2SeqLM.from_pretrained("csebuetnlp/mT5_multilingual_XLSum")
44
 
45