Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://huggingface.co/spaces/ayoni02/Content-Mod-ZSC
Browse files- mainn.py +1 -1
- requirements.txt +1 -1
mainn.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
from transformers import pipeline
|
2 |
-
import
|
3 |
|
4 |
labels = ['toxic', 'racist', 'gender bias', 'religious bias', 'aggressive',
|
5 |
'personal attacks', 'hate speech', 'offensive language']
|
|
|
1 |
from transformers import pipeline
|
2 |
+
import re
|
3 |
|
4 |
labels = ['toxic', 'racist', 'gender bias', 'religious bias', 'aggressive',
|
5 |
'personal attacks', 'hate speech', 'offensive language']
|
requirements.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
transformers
|
2 |
torch
|
3 |
-
streamlit
|
|
|
1 |
transformers
|
2 |
torch
|
3 |
+
streamlit
|