prasadnu commited on
Commit
fdd436d
·
1 Parent(s): bd73012

rerank model

Browse files
pages/Multimodal_Conversational_Search.py CHANGED
@@ -220,6 +220,7 @@ def render_answer(question,answer,index,res_img):
220
  st.session_state.show_columns = True
221
  st.session_state.maxSimImages = colpali.img_highlight(st.session_state.top_img, st.session_state.query_token_vectors, st.session_state.query_tokens)
222
  handle_input()
 
223
  with placeholder.container():
224
  render_all()
225
  if(st.session_state.input_is_colpali):
@@ -329,7 +330,9 @@ with placeholder.container():
329
  with st.spinner("Running search..."):
330
  render_all()
331
 
332
-
 
 
333
 
334
 
335
  st.markdown("")
 
220
  st.session_state.show_columns = True
221
  st.session_state.maxSimImages = colpali.img_highlight(st.session_state.top_img, st.session_state.query_token_vectors, st.session_state.query_tokens)
222
  handle_input()
223
+ placeholder = st.empty()
224
  with placeholder.container():
225
  render_all()
226
  if(st.session_state.input_is_colpali):
 
330
  with st.spinner("Running search..."):
331
  render_all()
332
 
333
+ placeholder = st.empty()
334
+ with placeholder.container():
335
+ render_all()
336
 
337
 
338
  st.markdown("")