Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
rerank model
Browse files
pages/Multimodal_Conversational_Search.py
CHANGED
|
@@ -214,8 +214,8 @@ def render_answer(question,answer,index,res_img):
|
|
| 214 |
# audio_col1, audio_col2 = st.columns([50,50])
|
| 215 |
# with audio_col1:
|
| 216 |
# st.audio(polly_response['AudioStream'].read(), format="audio/ogg")
|
| 217 |
-
|
| 218 |
-
|
| 219 |
def show_maxsim():
|
| 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)
|
|
|
|
| 214 |
# audio_col1, audio_col2 = st.columns([50,50])
|
| 215 |
# with audio_col1:
|
| 216 |
# st.audio(polly_response['AudioStream'].read(), format="audio/ogg")
|
| 217 |
+
rdn_key_1 = ''.join([random.choice(string.ascii_letters)
|
| 218 |
+
for _ in range(10)])
|
| 219 |
def show_maxsim():
|
| 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)
|