Greg Thompson commited on
Commit
3d28ef4
2 Parent(s): b27dee1 c57c360

Merge branch 'staging' of https://huggingface.co/spaces/thompsgj/mathtext-fastapi into staging

Browse files
Files changed (1) hide show
  1. mathtext_fastapi/nlu.py +1 -1
mathtext_fastapi/nlu.py CHANGED
@@ -121,7 +121,7 @@ def run_intent_classification(message_text):
121
  >>> run_intent_classification("hardier")
122
  {'type': 'intent', 'data': 'harder', 'confidence': 0.92}
123
  """
124
- label = 'no_match'
125
  ratio = 0
126
  nlu_response = {'type': 'intent', 'data': label, 'confidence': ratio}
127
  keywords = [
 
121
  >>> run_intent_classification("hardier")
122
  {'type': 'intent', 'data': 'harder', 'confidence': 0.92}
123
  """
124
+ label = ''
125
  ratio = 0
126
  nlu_response = {'type': 'intent', 'data': label, 'confidence': ratio}
127
  keywords = [