Spaces:
Sleeping
Sleeping
remove the "Refresh Search" Button
Browse files
app.py
CHANGED
@@ -109,7 +109,6 @@ with col3:
|
|
109 |
|
110 |
# Checkbox to control whether to show only exact matches
|
111 |
show_exact_matches = st.checkbox("Show only exact matches", value=False)
|
112 |
-
####L button = st.button("Refresh Search")
|
113 |
|
114 |
def filter_results(results, country_filter, region_filter, end_year_range):
|
115 |
filtered = []
|
@@ -143,7 +142,8 @@ def filter_results(results, country_filter, region_filter, end_year_range):
|
|
143 |
filtered.append(r)
|
144 |
return filtered
|
145 |
|
146 |
-
|
|
|
147 |
# 1) Adjust limit so we get more than 15 results
|
148 |
results = hybrid_search(client, var, collection_name, limit=500) # e.g., 100 or 200
|
149 |
|
|
|
109 |
|
110 |
# Checkbox to control whether to show only exact matches
|
111 |
show_exact_matches = st.checkbox("Show only exact matches", value=False)
|
|
|
112 |
|
113 |
def filter_results(results, country_filter, region_filter, end_year_range):
|
114 |
filtered = []
|
|
|
142 |
filtered.append(r)
|
143 |
return filtered
|
144 |
|
145 |
+
# Run the search
|
146 |
+
|
147 |
# 1) Adjust limit so we get more than 15 results
|
148 |
results = hybrid_search(client, var, collection_name, limit=500) # e.g., 100 or 200
|
149 |
|