Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -220,7 +220,7 @@ with tabs[1]:
|
|
| 220 |
if faq_cols[i % 2].button(faq):
|
| 221 |
st.session_state.faq_query = faq
|
| 222 |
|
| 223 |
-
query = st.text_input("💬
|
| 224 |
|
| 225 |
col1, col2 = st.columns([1, 4])
|
| 226 |
with col1:
|
|
@@ -236,7 +236,7 @@ with tabs[1]:
|
|
| 236 |
st.session_state.faq_query = ""
|
| 237 |
|
| 238 |
if st.session_state.chat_history:
|
| 239 |
-
st.subheader("
|
| 240 |
for role, msg in st.session_state.chat_history:
|
| 241 |
if role == "You":
|
| 242 |
st.markdown(f"**🧑 {role}:** {msg}")
|
|
|
|
| 220 |
if faq_cols[i % 2].button(faq):
|
| 221 |
st.session_state.faq_query = faq
|
| 222 |
|
| 223 |
+
query = st.text_input("💬 Any other...", value=st.session_state.get("faq_query", ""))
|
| 224 |
|
| 225 |
col1, col2 = st.columns([1, 4])
|
| 226 |
with col1:
|
|
|
|
| 236 |
st.session_state.faq_query = ""
|
| 237 |
|
| 238 |
if st.session_state.chat_history:
|
| 239 |
+
st.subheader("💬 Chat Conversation")
|
| 240 |
for role, msg in st.session_state.chat_history:
|
| 241 |
if role == "You":
|
| 242 |
st.markdown(f"**🧑 {role}:** {msg}")
|