Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def get_matches(query, db_name="miread_contrastive"):
|
|
49 |
"""
|
50 |
Wrapper to call the similarity search on the required index
|
51 |
"""
|
52 |
-
matches = vecdbs[
|
53 |
db_name)].similarity_search_with_score(query, k=60)
|
54 |
return matches
|
55 |
|
|
|
49 |
"""
|
50 |
Wrapper to call the similarity search on the required index
|
51 |
"""
|
52 |
+
matches = vecdbs[INDEXES.index(
|
53 |
db_name)].similarity_search_with_score(query, k=60)
|
54 |
return matches
|
55 |
|