Kurt commited on
Commit
9c5ae44
1 Parent(s): e62249b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -651,7 +651,7 @@ bm25_index = BM25Index.build_from_documents(
651
  bm25_index.save("output/bm25_index")
652
 
653
  def search(query: str) -> List[Hit]:
654
- bm25_index = CSCBM25Retriever(index_dir="output/bm25_index")
655
  result = bm25_index.retrieve(query)
656
 
657
  l : return_type = []
 
651
  bm25_index.save("output/bm25_index")
652
 
653
  def search(query: str) -> List[Hit]:
654
+ bm25_index = BM25Retriever(index_dir="output/bm25_index")
655
  result = bm25_index.retrieve(query)
656
 
657
  l : return_type = []