prasadnu commited on
Commit
6f25162
·
1 Parent(s): 9704ba3

colpali fix

Browse files
pages/Multimodal_Conversational_Search.py CHANGED
@@ -547,7 +547,7 @@ with st.sidebar:
547
  else:
548
  st.session_state.input_is_colpali = False
549
 
550
- st.button("Show similarity map",key="input_sim_map",on_click=handle_input,args=('colpali_show_similarity_map',None))
551
 
552
  with st.expander("Sample questions for Colpali retriever:"):
553
  st.write("1. Proportion of female new hires 2021-2023? \n\n 2. First-half 2021 return on unlisted real estate investments? \n\n 3. Trend of the fund's expected absolute volatility between January 2014 and January 2016? \n\n 4. Fund return percentage in 2017? \n\n 5. Annualized gross return of the fund from 1997 to 2008?")
 
547
  else:
548
  st.session_state.input_is_colpali = False
549
 
550
+ st.button("Show similarity map",key="input_sim_map",on_click=handle_input,args=('colpali_show_similarity_map',True))
551
 
552
  with st.expander("Sample questions for Colpali retriever:"):
553
  st.write("1. Proportion of female new hires 2021-2023? \n\n 2. First-half 2021 return on unlisted real estate investments? \n\n 3. Trend of the fund's expected absolute volatility between January 2014 and January 2016? \n\n 4. Fund return percentage in 2017? \n\n 5. Annualized gross return of the fund from 1997 to 2008?")