plebias commited on
Commit
e1d0521
1 Parent(s): 8d9cb47

Update app_final.py

Browse files
Files changed (1) hide show
  1. app_final.py +1 -1
app_final.py CHANGED
@@ -901,7 +901,7 @@ else:
901
  store_gen = st.session_state.store_gen
902
 
903
  def topk(searchKW):
904
- search_r = st.session_state.store.similarity_search(searchKW, k=5)
905
  return [x.page_content for x in search_r]
906
 
907
  if 'searchbtn_clicked' not in st.session_state:
 
901
  store_gen = st.session_state.store_gen
902
 
903
  def topk(searchKW):
904
+ search_r = st.session_state.store_gen.similarity_search(searchKW, k=5)
905
  return [x.page_content for x in search_r]
906
 
907
  if 'searchbtn_clicked' not in st.session_state: