student-abdullah commited on
Commit
9bdeca3
1 Parent(s): 3552dca

Update a.py

Browse files
Files changed (1) hide show
  1. a.py +2 -2
a.py CHANGED
@@ -136,7 +136,7 @@ elif st.session_state.selected_service == "Assistant":
136
 
137
  # Display AI chat history
138
  for chat in st.session_state.history:
139
- st.write(f"**Medicine Query:** {chat['user']}")
140
  st.write(f"**Chatbot:** {chat['bot']}")
141
 
142
  # Function to handle user input
@@ -163,4 +163,4 @@ elif st.session_state.selected_service == "Assistant":
163
  st.session_state['input'] = ''
164
 
165
  # Persistent text input at the top
166
- st.text_input("Enter Medicine Query:", key="input", on_change=handle_input)
 
136
 
137
  # Display AI chat history
138
  for chat in st.session_state.history:
139
+ st.write(f"**User Query:** {chat['user']}")
140
  st.write(f"**Chatbot:** {chat['bot']}")
141
 
142
  # Function to handle user input
 
163
  st.session_state['input'] = ''
164
 
165
  # Persistent text input at the top
166
+ st.text_input("Enter Query:", key="input", on_change=handle_input)