Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ def main():
|
|
199 |
|
200 |
# Display the chat history with the latest conversation at the top
|
201 |
for chat in st.session_state.history:
|
202 |
-
if chat['role'] == '
|
203 |
chat_container.markdown(f"**Agricultor:** {chat['message']}")
|
204 |
else:
|
205 |
chat_container.markdown(f"**Hydroponic AI Assistant:** {chat['message']}")
|
|
|
199 |
|
200 |
# Display the chat history with the latest conversation at the top
|
201 |
for chat in st.session_state.history:
|
202 |
+
if chat['role'] == 'Agricultor':
|
203 |
chat_container.markdown(f"**Agricultor:** {chat['message']}")
|
204 |
else:
|
205 |
chat_container.markdown(f"**Hydroponic AI Assistant:** {chat['message']}")
|