Spaces:
Runtime error
Runtime error
Commit
•
02db558
1
Parent(s):
91d8ccb
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from gradio import CSVLogger
|
|
3 |
import os
|
4 |
|
5 |
HF_TOKEN = os.getenv('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')
|
6 |
-
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN,"flagged_data")
|
7 |
|
8 |
description = "Get sentiment if a comment is 'no cyber bullying' or 'cyber bullying'.The predicted outputs refer to 'cyber bullying' for racism and sexism comments and 'no cyber bullying' for others comments.please do flag if you feel that the required output isn't desired output "
|
9 |
title = "Cyber Bullying Sentiment Classifier"
|
|
|
3 |
import os
|
4 |
|
5 |
HF_TOKEN = os.getenv('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')
|
6 |
+
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN,dataset_name="flagged_data")
|
7 |
|
8 |
description = "Get sentiment if a comment is 'no cyber bullying' or 'cyber bullying'.The predicted outputs refer to 'cyber bullying' for racism and sexism comments and 'no cyber bullying' for others comments.please do flag if you feel that the required output isn't desired output "
|
9 |
title = "Cyber Bullying Sentiment Classifier"
|