Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
rerank model
Browse files
pages/Multimodal_Conversational_Search.py
CHANGED
|
@@ -329,10 +329,10 @@ def render_all():
|
|
| 329 |
placeholder = st.empty()
|
| 330 |
with placeholder.container():
|
| 331 |
if st.session_state.trigger_search:
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
|
| 337 |
st.markdown("")
|
| 338 |
col_2, col_3 = st.columns([75,20])
|
|
|
|
| 329 |
placeholder = st.empty()
|
| 330 |
with placeholder.container():
|
| 331 |
if st.session_state.trigger_search:
|
| 332 |
+
with st.spinner("Running search..."):
|
| 333 |
+
handle_input()
|
| 334 |
+
render_all()
|
| 335 |
+
st.session_state.trigger_search = False # reset
|
| 336 |
|
| 337 |
st.markdown("")
|
| 338 |
col_2, col_3 = st.columns([75,20])
|