Spaces:
Sleeping
Sleeping
ayoni02
commited on
Commit
·
65d0075
1
Parent(s):
f71d437
run
Browse files
mainn.py
CHANGED
|
@@ -53,3 +53,5 @@ def content_moderator(text, labels=labels, model=model, classifier=zero_shot_cla
|
|
| 53 |
return 'Adult content site'
|
| 54 |
elif classifier(text):
|
| 55 |
return 'Flagged content'
|
|
|
|
|
|
|
|
|
| 53 |
return 'Adult content site'
|
| 54 |
elif classifier(text):
|
| 55 |
return 'Flagged content'
|
| 56 |
+
else:
|
| 57 |
+
pass # No issues found
|