Update app.py
Browse files
app.py
CHANGED
|
@@ -138,6 +138,9 @@ for message in st.session_state.messages:
|
|
| 138 |
with st.chat_message(message["role"]):
|
| 139 |
st.markdown(message["content"])
|
| 140 |
|
|
|
|
|
|
|
|
|
|
| 141 |
# Display a welcome message
|
| 142 |
with st.chat_message("assistant"):
|
| 143 |
st.markdown("Hello there! How can I assist you today?")
|
|
@@ -187,8 +190,7 @@ if user_message := st.chat_input("Enter message"):
|
|
| 187 |
# Submit button
|
| 188 |
#submit_button = st.button("Submit")
|
| 189 |
|
| 190 |
-
|
| 191 |
-
tool_checkboxes = [st.checkbox(f"{tool.name} --- {tool.description} ") for tool in tools]
|
| 192 |
|
| 193 |
|
| 194 |
|
|
|
|
| 138 |
with st.chat_message(message["role"]):
|
| 139 |
st.markdown(message["content"])
|
| 140 |
|
| 141 |
+
# Checkboxes for the tools to be used by the agent
|
| 142 |
+
tool_checkboxes = [st.checkbox(f"{tool.name} --- {tool.description} ") for tool in tools]
|
| 143 |
+
|
| 144 |
# Display a welcome message
|
| 145 |
with st.chat_message("assistant"):
|
| 146 |
st.markdown("Hello there! How can I assist you today?")
|
|
|
|
| 190 |
# Submit button
|
| 191 |
#submit_button = st.button("Submit")
|
| 192 |
|
| 193 |
+
|
|
|
|
| 194 |
|
| 195 |
|
| 196 |
|