kdallash commited on
Commit
6c8a078
·
verified ·
1 Parent(s): 00aa4d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def search_hadith(query, top_k):
48
  query=query,
49
  df=df,
50
  bm25=bm25,
51
- preprocess_query=bm25_tokenize(query),
52
  model=model,
53
  hadith_embeddings=hadith_embeddings,
54
  anchor_index=anchor_index,
 
48
  query=query,
49
  df=df,
50
  bm25=bm25,
51
+ preprocess_query=bm25_tokenize,
52
  model=model,
53
  hadith_embeddings=hadith_embeddings,
54
  anchor_index=anchor_index,