saritha5 commited on
Commit
2b03caf
1 Parent(s): 823b763

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,8 +25,8 @@ config = AutoConfig.from_pretrained(MODEL)
25
 
26
  # create classifier function
27
  def classify_compliant(text):
28
- text_clean = cleaned_complaints(text)
29
- text = preprocess(text_clean)
30
  encoded_input = tokenizer(text, return_tensors='pt')
31
  output = model(**encoded_input)
32
  scores = output[0][0].detach().numpy()
 
25
 
26
  # create classifier function
27
  def classify_compliant(text):
28
+ text = cleaned_complaints(text)
29
+ #text = preprocess(text_clean)
30
  encoded_input = tokenizer(text, return_tensors='pt')
31
  output = model(**encoded_input)
32
  scores = output[0][0].detach().numpy()