johnowhitaker commited on
Commit
19ded2a
1 Parent(s): 10af72c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def preprocess(text):
25
  return " ".join(new_text)
26
 
27
  # Loading pretrained model
28
- MODEL = "cardiffnlp/twitter-roberta-base-sentiment"
29
  tokenizer = AutoTokenizer.from_pretrained(MODEL)
30
  model = AutoModelForSequenceClassification.from_pretrained(MODEL)
31
  model.save_pretrained(MODEL)
 
25
  return " ".join(new_text)
26
 
27
  # Loading pretrained model
28
+ MODEL = 'cardiffnlp/twitter-roberta-base-sentiment'
29
  tokenizer = AutoTokenizer.from_pretrained(MODEL)
30
  model = AutoModelForSequenceClassification.from_pretrained(MODEL)
31
  model.save_pretrained(MODEL)