Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
rerank model
Browse files
pages/Multimodal_Conversational_Search.py
CHANGED
|
@@ -199,8 +199,8 @@ def write_user_message(placeholder,md):
|
|
| 199 |
|
| 200 |
|
| 201 |
def render_answer(placeholder,question,answer,index,res_img):
|
| 202 |
-
|
| 203 |
-
with placeholder:
|
| 204 |
col1, col2, col_3 = st.columns([4,74,22])
|
| 205 |
with col1:
|
| 206 |
st.image(AI_ICON, use_column_width='always')
|
|
|
|
| 199 |
|
| 200 |
|
| 201 |
def render_answer(placeholder,question,answer,index,res_img):
|
| 202 |
+
placeholder.empty()
|
| 203 |
+
with placeholder.container():
|
| 204 |
col1, col2, col_3 = st.columns([4,74,22])
|
| 205 |
with col1:
|
| 206 |
st.image(AI_ICON, use_column_width='always')
|