mohbay commited on
Commit
bc9e59e
·
verified ·
1 Parent(s): 92739b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -261,7 +261,8 @@ def predict(text):
261
  # final_results.append(semantic_pick)
262
 
263
  # return final_results[:top_k]
264
- def get_diverse_top_results(combined_results, top_k=10):
 
265
  """Get diverse top results using multiple ranking strategies with BM25 threshold"""
266
 
267
  # First, check if any results have BM25 score > 0.1
 
261
  # final_results.append(semantic_pick)
262
 
263
  # return final_results[:top_k]
264
+
265
+ def get_diverse_top_results(combined_results, top_k=15):
266
  """Get diverse top results using multiple ranking strategies with BM25 threshold"""
267
 
268
  # First, check if any results have BM25 score > 0.1