Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
server.py
CHANGED
|
@@ -320,6 +320,8 @@ async def search_scripture_find_first_match(
|
|
| 320 |
results = db.fetch_all_matches(
|
| 321 |
collection_name=config["collection_name"],
|
| 322 |
metadata_where_clause=filter_obj,
|
|
|
|
|
|
|
| 323 |
)
|
| 324 |
|
| 325 |
formatted_results = []
|
|
|
|
| 320 |
results = db.fetch_all_matches(
|
| 321 |
collection_name=config["collection_name"],
|
| 322 |
metadata_where_clause=filter_obj,
|
| 323 |
+
page=None, # Fetch all to apply audio filter
|
| 324 |
+
page_size=None,
|
| 325 |
)
|
| 326 |
|
| 327 |
formatted_results = []
|