dogukan-bg commited on
Commit
48e9a5d
·
verified ·
1 Parent(s): c1901ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -388,8 +388,8 @@ bm25_retriever = BM25Index.build_from_documents(
388
  ndocs=12160,
389
  show_progress_bar=True
390
  )
391
- bm25_retriever.save("/content/output/bm25_index")
392
- bm25_retriever = BM25Retriever(index_dir="/content/output/bm25_index")
393
 
394
  def search(query: str) -> List[Hit]:
395
  """
 
388
  ndocs=12160,
389
  show_progress_bar=True
390
  )
391
+ bm25_retriever.save("output/bm25_index")
392
+ bm25_retriever = BM25Retriever(index_dir="output/bm25_index")
393
 
394
  def search(query: str) -> List[Hit]:
395
  """