Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ tabs = st.tabs(["Chat", "URL and Tools", "User Description", "Developers"])
|
|
125 |
|
126 |
# Tab 1: Chat
|
127 |
if tabs[0]:
|
128 |
-
with st.
|
129 |
# Chat code (user input, agent responses, etc.)
|
130 |
if "messages" not in st.session_state:
|
131 |
st.session_state.messages = []
|
@@ -189,7 +189,7 @@ if tabs[0]:
|
|
189 |
|
190 |
# Tab 2: URL and Tools
|
191 |
elif tabs[1]:
|
192 |
-
with st.
|
193 |
# Code for URL and Tools checkboxes
|
194 |
|
195 |
# Examples for the user perspective
|
@@ -217,7 +217,7 @@ elif tabs[1]:
|
|
217 |
|
218 |
# Tab 3: User Description
|
219 |
elif tabs[2]:
|
220 |
-
with st.
|
221 |
# User description content and tool descriptions
|
222 |
# Add a section for the app's description
|
223 |
st.markdown('''
|
@@ -276,7 +276,7 @@ elif tabs[2]:
|
|
276 |
|
277 |
# Tab 4: Developers
|
278 |
elif tabs[3]:
|
279 |
-
with st.
|
280 |
# Developer-related content
|
281 |
st.markdown('''
|
282 |
|
|
|
125 |
|
126 |
# Tab 1: Chat
|
127 |
if tabs[0]:
|
128 |
+
with st.expander("Chat"):
|
129 |
# Chat code (user input, agent responses, etc.)
|
130 |
if "messages" not in st.session_state:
|
131 |
st.session_state.messages = []
|
|
|
189 |
|
190 |
# Tab 2: URL and Tools
|
191 |
elif tabs[1]:
|
192 |
+
with st.expander("URL and Tools"):
|
193 |
# Code for URL and Tools checkboxes
|
194 |
|
195 |
# Examples for the user perspective
|
|
|
217 |
|
218 |
# Tab 3: User Description
|
219 |
elif tabs[2]:
|
220 |
+
with st.expander("App Description"):
|
221 |
# User description content and tool descriptions
|
222 |
# Add a section for the app's description
|
223 |
st.markdown('''
|
|
|
276 |
|
277 |
# Tab 4: Developers
|
278 |
elif tabs[3]:
|
279 |
+
with st.expander("Developers"):
|
280 |
# Developer-related content
|
281 |
st.markdown('''
|
282 |
|