Goodnight7 commited on
Commit
78f5453
·
verified ·
1 Parent(s): fa945c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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'] == 'Patient':
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']}")