Spaces:
Running
on
T4
Running
on
T4
colpali fix
Browse files
pages/Multimodal_Conversational_Search.py
CHANGED
@@ -370,7 +370,10 @@ def render_answer(question,answer,index,res_img):
|
|
370 |
pass
|
371 |
|
372 |
placeholder__ = st.empty()
|
373 |
-
placeholder__.
|
|
|
|
|
|
|
374 |
|
375 |
# def show_maxsim():
|
376 |
# st.session_state.show_columns = True
|
@@ -386,8 +389,7 @@ def render_answer(question,answer,index,res_img):
|
|
386 |
# with placeholder.container():
|
387 |
# render_all()
|
388 |
|
389 |
-
if(st.session_state.input_is_colpali):
|
390 |
-
placeholder__.button("Show similarity map",key=rdn_key_1,on_click=handle_input,args=('colpali_show_similarity_map',None))
|
391 |
|
392 |
#placeholder__.button("Show similarity map",key=rdn_key_1,on_click = show_maxsim)
|
393 |
|
|
|
370 |
pass
|
371 |
|
372 |
placeholder__ = st.empty()
|
373 |
+
with placeholder__.container():
|
374 |
+
placeholder__.button("🔄",key=rdn_key,on_click=on_button_click)
|
375 |
+
placeholder__.button("Show similarity map",key=rdn_key_1,on_click=handle_input,args=('colpali_show_similarity_map',None))
|
376 |
+
|
377 |
|
378 |
# def show_maxsim():
|
379 |
# st.session_state.show_columns = True
|
|
|
389 |
# with placeholder.container():
|
390 |
# render_all()
|
391 |
|
392 |
+
#if(st.session_state.input_is_colpali):
|
|
|
393 |
|
394 |
#placeholder__.button("Show similarity map",key=rdn_key_1,on_click = show_maxsim)
|
395 |
|