nppmatt commited on
Commit
1c2d1c1
1 Parent(s): d63d827

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -15,6 +15,7 @@ else:
15
 
16
  tweets_raw = pd.read_csv("train.csv", nrows=20)
17
 
 
18
 
19
  # Run encoding through model to get classification output.
20
  encoding = tokenizer.encode(txt, return_tensors='pt')
 
15
 
16
  tweets_raw = pd.read_csv("train.csv", nrows=20)
17
 
18
+ label_set = ["toxic", "severe_toxic", "obscene", "threat", "insult", "identity_hate"]
19
 
20
  # Run encoding through model to get classification output.
21
  encoding = tokenizer.encode(txt, return_tensors='pt')