saritha5 commited on
Commit
29e26e0
1 Parent(s): 51faed1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)