VasudevaK commited on
Commit
ac19280
·
1 Parent(s): c8c91d2

tuned model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def bot(sent_tokens, input):
89
  idx = random.randint(0, len(vals.argsort()[0]))
90
  flat = vals.flatten()
91
  flat.sort()
92
- req_tfidf = flat[-5]
93
  if (req_tfidf == 0):
94
  robo1_response= robo1_response+"I could not answer this right now but you can contact the head of our dept (PUSPHA RAJ)." # add the dept recommendation engine and contact details
95
  return robo1_response
 
89
  idx = random.randint(0, len(vals.argsort()[0]))
90
  flat = vals.flatten()
91
  flat.sort()
92
+ req_tfidf = flat[-1]
93
  if (req_tfidf == 0):
94
  robo1_response= robo1_response+"I could not answer this right now but you can contact the head of our dept (PUSPHA RAJ)." # add the dept recommendation engine and contact details
95
  return robo1_response