Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
sidebar fixed
Browse files
pages/Multimodal_Conversational_Search.py
CHANGED
|
@@ -105,8 +105,6 @@ if "input_query" not in st.session_state:
|
|
| 105 |
st.session_state.input_query="How many aged above 85 years died due to covid ?"#"What is the projected energy percentage from renewable sources in future?"#"Which city in United Kingdom has the highest average housing price ?"#"How many aged above 85 years died due to covid ?"# What is the projected energy from renewable sources ?"
|
| 106 |
|
| 107 |
|
| 108 |
-
if "input_rag_searchType" not in st.session_state:
|
| 109 |
-
st.session_state.input_rag_searchType = ["Vector Search"]
|
| 110 |
|
| 111 |
|
| 112 |
|
|
@@ -417,6 +415,9 @@ def render_answer(question,answer,index,res_img):
|
|
| 417 |
st.session_state.input_query = st.session_state.questions_[-1]["question"]
|
| 418 |
st.session_state.answers_.pop()
|
| 419 |
st.session_state.questions_.pop()
|
|
|
|
|
|
|
|
|
|
| 420 |
|
| 421 |
|
| 422 |
# def show_maxsim():
|
|
|
|
| 105 |
st.session_state.input_query="How many aged above 85 years died due to covid ?"#"What is the projected energy percentage from renewable sources in future?"#"Which city in United Kingdom has the highest average housing price ?"#"How many aged above 85 years died due to covid ?"# What is the projected energy from renewable sources ?"
|
| 106 |
|
| 107 |
|
|
|
|
|
|
|
| 108 |
|
| 109 |
|
| 110 |
|
|
|
|
| 415 |
st.session_state.input_query = st.session_state.questions_[-1]["question"]
|
| 416 |
st.session_state.answers_.pop()
|
| 417 |
st.session_state.questions_.pop()
|
| 418 |
+
handle_input()
|
| 419 |
+
with placeholder.container():
|
| 420 |
+
render_all()
|
| 421 |
|
| 422 |
|
| 423 |
# def show_maxsim():
|