Spaces:
Runtime error
Runtime error
tuned model
Browse files
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[-
|
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
|