Colby commited on
Commit
c2d580a
·
verified ·
1 Parent(s): d796187

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def merlin_chat(message, history):
51
  r.extract_keywords_from_text(chat_text)
52
  ents_found = ents_found + r.get_ranked_phrases()[:3]
53
  context = ""
54
- scores = topic_model(context, ents_found, multi_label=True)['scores']
55
  if ents_found:
56
  max_score = 0
57
  for k in range(len(ents_found)):
 
51
  r.extract_keywords_from_text(chat_text)
52
  ents_found = ents_found + r.get_ranked_phrases()[:3]
53
  context = ""
54
+ scores = topic_model(chat_text, ents_found, multi_label=True)['scores']
55
  if ents_found:
56
  max_score = 0
57
  for k in range(len(ents_found)):