Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ config = AutoConfig.from_pretrained(MODEL)
|
|
25 |
|
26 |
# create classifier function
|
27 |
def classify_compliant(text):
|
28 |
-
if len(text==0
|
29 |
return "Cannot Categorize the complaint"
|
30 |
else:
|
31 |
text = cleaned_complaints(text)
|
|
|
25 |
|
26 |
# create classifier function
|
27 |
def classify_compliant(text):
|
28 |
+
if len(text)==0:
|
29 |
return "Cannot Categorize the complaint"
|
30 |
else:
|
31 |
text = cleaned_complaints(text)
|