Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -176,6 +176,7 @@ if "shortcuts" not in st.session_state:
|
|
176 |
def main():
|
177 |
st.set_page_config(page_title="Multi-Search Application", layout="wide")
|
178 |
|
|
|
179 |
# **Show Saved Shortcuts**
|
180 |
st.header("Multimodal Query Processing & Knowledge Retrieval Sys")
|
181 |
with st.expander("Click to View Shortcuts"):
|
@@ -202,6 +203,9 @@ def main():
|
|
202 |
|
203 |
st.markdown("Note: Add best web links for student education purposes.")
|
204 |
|
|
|
|
|
|
|
205 |
# Initialize chat history if not present
|
206 |
if "chat_history" not in st.session_state:
|
207 |
st.session_state.chat_history = []
|
|
|
176 |
def main():
|
177 |
st.set_page_config(page_title="Multi-Search Application", layout="wide")
|
178 |
|
179 |
+
|
180 |
# **Show Saved Shortcuts**
|
181 |
st.header("Multimodal Query Processing & Knowledge Retrieval Sys")
|
182 |
with st.expander("Click to View Shortcuts"):
|
|
|
203 |
|
204 |
st.markdown("Note: Add best web links for student education purposes.")
|
205 |
|
206 |
+
if "query" not in st.session_state:
|
207 |
+
st.session_state.query = ""
|
208 |
+
|
209 |
# Initialize chat history if not present
|
210 |
if "chat_history" not in st.session_state:
|
211 |
st.session_state.chat_history = []
|