update
Browse files
app.py
CHANGED
@@ -458,7 +458,7 @@ def chatbot_response(message, history, window_size, threshold, score_threshold,u
|
|
458 |
distance,ad_summary,ad_keywords=[(candidate['distance'],candidate['summary'],candidate['keyword_list']) for candidate in candidates if candidate['group_id']==max_group_id][0]
|
459 |
print("ad_keywords: ", ad_keywords)
|
460 |
if group_scores:
|
461 |
-
print(f"group_scores: {sorted(group_scores,
|
462 |
|
463 |
|
464 |
# if(candidates):
|
|
|
458 |
distance,ad_summary,ad_keywords=[(candidate['distance'],candidate['summary'],candidate['keyword_list']) for candidate in candidates if candidate['group_id']==max_group_id][0]
|
459 |
print("ad_keywords: ", ad_keywords)
|
460 |
if group_scores:
|
461 |
+
print(f"group_scores: { sorted(group_scores, reverse=True)}")
|
462 |
|
463 |
|
464 |
# if(candidates):
|