Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def filter_results(results, country_filter, end_year_range):
|
|
114 |
if button:
|
115 |
# 1) Use a bigger limit so we get more than 10 results
|
116 |
# We'll filter them first, then slice the top 10 from the filtered set.
|
117 |
-
results = hybrid_search(client, var, collection_name, limit=
|
118 |
|
119 |
# results is a tuple: (semantic_results, lexical_results)
|
120 |
semantic_all = results[0]
|
|
|
114 |
if button:
|
115 |
# 1) Use a bigger limit so we get more than 10 results
|
116 |
# We'll filter them first, then slice the top 10 from the filtered set.
|
117 |
+
results = hybrid_search(client, var, collection_name, limit=300) # e.g., 100 or 200
|
118 |
|
119 |
# results is a tuple: (semantic_results, lexical_results)
|
120 |
semantic_all = results[0]
|