dp92 commited on
Commit
5764658
·
1 Parent(s): 2d00317

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -27,10 +27,3 @@ def classify(text):
27
  # Define the labels
28
  labels = ["toxic", "severe_toxic", "obscene", "threat", "insult", "identity_hate"]
29
 
30
- # Classify the comments and print the results
31
- for i, row in data.iterrows():
32
-
33
-
34
- print("Comment: ", text)
35
- print("Predictions: ", preds)
36
- print("Labels: ", row[labels].to_dict())
 
27
  # Define the labels
28
  labels = ["toxic", "severe_toxic", "obscene", "threat", "insult", "identity_hate"]
29