danieldux commited on
Commit
6d42e35
1 Parent(s): c6d244b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def retrieve_and_rerank_faiss(job, model_name="BAAI/bge-m3", top_k=8):
73
  ]
74
  for i, idx in enumerate(indices[0])
75
  ]
76
- ranked_results = sorted(results, key=lambda x: x[0], reverse=True)
77
  return ranked_results
78
 
79
 
 
73
  ]
74
  for i, idx in enumerate(indices[0])
75
  ]
76
+ ranked_results = sorted(results, key=lambda x: x[0], reverse=False)
77
  return ranked_results
78
 
79