prasadnu commited on
Commit
dc5a08b
·
1 Parent(s): ddfb715

rerank model

Browse files
pages/Multimodal_Conversational_Search.py CHANGED
@@ -225,6 +225,7 @@ def render_answer(placeholder,question,answer,index,res_img):
225
  #handle_input()
226
  # placeholder = st.empty()
227
  # with placeholder.container():
 
228
  render_all(placeholder)
229
  if(st.session_state.input_is_colpali):
230
  st.button("Show similarity map",key=rdn_key_1,on_click = show_maxsim,args=(placeholder,"default_img"))
 
225
  #handle_input()
226
  # placeholder = st.empty()
227
  # with placeholder.container():
228
+ placeholder.empty()
229
  render_all(placeholder)
230
  if(st.session_state.input_is_colpali):
231
  st.button("Show similarity map",key=rdn_key_1,on_click = show_maxsim,args=(placeholder,"default_img"))