Spaces:
Sleeping
Sleeping
Update mainn.py
Browse files
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']
|