Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
908bb07
1 Parent(s): 7d78a3b

semantic error fix

Browse files
Files changed (1) hide show
  1. appStore/keyword_search.py +6 -1
appStore/keyword_search.py CHANGED
@@ -114,7 +114,12 @@ def app():
114
 
115
  logging.info("starting semantic search")
116
  with st.spinner("Performing Similar/Contextual search"):
117
- semantic_search(queryList,allDocuments['documents'])
 
 
 
 
 
118
 
119
  else:
120
  st.info("🤔 No document found, please try to upload it at the sidebar!")
 
114
 
115
  logging.info("starting semantic search")
116
  with st.spinner("Performing Similar/Contextual search"):
117
+ semantic_search(query = queryList,
118
+ documents = allDocuments['documents'],
119
+ embedding_model=embedding_model,
120
+ embedding_layer=embedding_layer,
121
+ reader_model=reader_model,reader_top_k=reader_top_k,
122
+ retriever_top_k=retriever_top_k)
123
 
124
  else:
125
  st.info("🤔 No document found, please try to upload it at the sidebar!")