sujitb commited on
Commit
8df007e
1 Parent(s): 167e1ea

chnaged index to clkb

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -26,6 +26,7 @@ bi_encoder.max_seq_length = 256 # Truncate long documents to 256 tokens
26
 
27
  # Store the index as a variable
28
  INDEX_NAME = 'cl-search-idx'
 
29
 
30
  pc_api_key= os.environ["clpine"] #AWS
31
  pc = Pinecone(api_key=pc_api_key)
@@ -157,7 +158,7 @@ with st.sidebar:
157
  dispstr= 'Search History '+str(len(df_log))
158
  st.markdown('*{}*'.format(dispstr))
159
  #st.write('Past Queries')
160
- qlist = df_log.tail(10)['query'].tolist()
161
  for q in qlist[::-1]:
162
  st.write(q)
163
 
 
26
 
27
  # Store the index as a variable
28
  INDEX_NAME = 'cl-search-idx'
29
+ INDEX_NAME = 'cl-kb'
30
 
31
  pc_api_key= os.environ["clpine"] #AWS
32
  pc = Pinecone(api_key=pc_api_key)
 
158
  dispstr= 'Search History '+str(len(df_log))
159
  st.markdown('*{}*'.format(dispstr))
160
  #st.write('Past Queries')
161
+ qlist = df_log.tail(30)['query'].tolist()
162
  for q in qlist[::-1]:
163
  st.write(q)
164