Spaces:
Build error
Build error
Update app.py
Browse files
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 |
-
|
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())
|