Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
RAG changes
Browse files
pages/Multimodal_Conversational_Search.py
CHANGED
|
@@ -141,7 +141,7 @@ service = 'es'
|
|
| 141 |
def write_logo():
|
| 142 |
col1, col2, col3 = st.columns([5, 1, 5])
|
| 143 |
with col2:
|
| 144 |
-
st.image(AI_ICON,
|
| 145 |
|
| 146 |
def write_top_bar():
|
| 147 |
col1, col2 = st.columns([77,23])
|
|
@@ -149,7 +149,7 @@ def write_top_bar():
|
|
| 149 |
st.write("")
|
| 150 |
st.header("Chat with your data",divider='rainbow')
|
| 151 |
|
| 152 |
-
#st.image(AI_ICON,
|
| 153 |
|
| 154 |
with col2:
|
| 155 |
st.write("")
|
|
@@ -237,7 +237,7 @@ def write_user_message(md):
|
|
| 237 |
col1, col2 = st.columns([3,97])
|
| 238 |
|
| 239 |
with col1:
|
| 240 |
-
st.image(USER_ICON,
|
| 241 |
with col2:
|
| 242 |
#st.warning(md['question'])
|
| 243 |
|
|
@@ -250,7 +250,7 @@ def render_answer(question,answer,index,res_img):
|
|
| 250 |
|
| 251 |
col1, col2, col_3 = st.columns([4,74,22])
|
| 252 |
with col1:
|
| 253 |
-
st.image(AI_ICON,
|
| 254 |
with col2:
|
| 255 |
ans_ = answer['answer']
|
| 256 |
st.write(ans_)
|
|
|
|
| 141 |
def write_logo():
|
| 142 |
col1, col2, col3 = st.columns([5, 1, 5])
|
| 143 |
with col2:
|
| 144 |
+
st.image(AI_ICON, use_column_width='always')
|
| 145 |
|
| 146 |
def write_top_bar():
|
| 147 |
col1, col2 = st.columns([77,23])
|
|
|
|
| 149 |
st.write("")
|
| 150 |
st.header("Chat with your data",divider='rainbow')
|
| 151 |
|
| 152 |
+
#st.image(AI_ICON, use_column_width='always')
|
| 153 |
|
| 154 |
with col2:
|
| 155 |
st.write("")
|
|
|
|
| 237 |
col1, col2 = st.columns([3,97])
|
| 238 |
|
| 239 |
with col1:
|
| 240 |
+
st.image(USER_ICON, use_column_width='always')
|
| 241 |
with col2:
|
| 242 |
#st.warning(md['question'])
|
| 243 |
|
|
|
|
| 250 |
|
| 251 |
col1, col2, col_3 = st.columns([4,74,22])
|
| 252 |
with col1:
|
| 253 |
+
st.image(AI_ICON, use_column_width='always')
|
| 254 |
with col2:
|
| 255 |
ans_ = answer['answer']
|
| 256 |
st.write(ans_)
|