atrytone commited on
Commit
891f199
·
1 Parent(s): 1b9e9c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[index_names.index(
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