Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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 |
|