neelsahu
commited on
Commit
·
d4ba74c
1
Parent(s):
a474a48
a case for unknown Language
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def predict_abusive_lang(text):
|
|
56 |
else:
|
57 |
return ["Not Abusive", text]
|
58 |
else:
|
59 |
-
return ["
|
60 |
|
61 |
# Define the GRADIO output interfaces
|
62 |
output_interfaces = [
|
|
|
56 |
else:
|
57 |
return ["Not Abusive", text]
|
58 |
else:
|
59 |
+
return ["Uknown Language","No cleaned text"]
|
60 |
|
61 |
# Define the GRADIO output interfaces
|
62 |
output_interfaces = [
|