Greg Thompson commited on
Commit
39df6cb
1 Parent(s): 4e0ade3

Remove lower from text2int

Browse files
Files changed (1) hide show
  1. mathtext_fastapi/nlu.py +1 -1
mathtext_fastapi/nlu.py CHANGED
@@ -151,7 +151,7 @@ def evaluate_message_with_nlu(message_data):
151
  if intent_api_response['data']:
152
  return intent_api_response
153
 
154
- number_api_resp = text2int(message_text.lower())
155
 
156
  if number_api_resp == 32202:
157
  # Run intent classification with logistic regression model
 
151
  if intent_api_response['data']:
152
  return intent_api_response
153
 
154
+ number_api_resp = text2int(message_text)
155
 
156
  if number_api_resp == 32202:
157
  # Run intent classification with logistic regression model