paragon-analytics commited on
Commit
a4c7eed
1 Parent(s): bda3b77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ from transformers import RobertaTokenizer, RobertaModel
34
  from transformers import AutoModelForSequenceClassification
35
  from transformers import TFAutoModelForSequenceClassification
36
  from transformers import AutoTokenizer
37
- tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment")
38
  model = AutoModelForSequenceClassification.from_pretrained("paragon-analytics/bert_resil")
39
 
40
  kw_extractor = yake.KeywordExtractor()
 
34
  from transformers import AutoModelForSequenceClassification
35
  from transformers import TFAutoModelForSequenceClassification
36
  from transformers import AutoTokenizer
37
+ tokenizer = AutoTokenizer.from_pretrained("paragon-analytics/bert_resil")
38
  model = AutoModelForSequenceClassification.from_pretrained("paragon-analytics/bert_resil")
39
 
40
  kw_extractor = yake.KeywordExtractor()