dp92 commited on
Commit
24e7e9e
·
1 Parent(s): 25aa1fd

Update app.py

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