cellanet commited on
Commit
146bae8
1 Parent(s): 5070fa5

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +1 -1
chatbot.py CHANGED
@@ -73,7 +73,7 @@ def onlineChat(inp):
73
  max_result = numpy.max(results)
74
  # print(f"max: {max_result}")
75
 
76
- if max_result < 0.35:
77
  tag = 'unknown'
78
  else:
79
  tag = labels[results_index]
 
73
  max_result = numpy.max(results)
74
  # print(f"max: {max_result}")
75
 
76
+ if max_result < 0.05:
77
  tag = 'unknown'
78
  else:
79
  tag = labels[results_index]