Karlsen commited on
Commit
52fc296
1 Parent(s): 8f6cc43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ else:
209
  # Basic chat logic
210
  if "hello" in user_input.lower():
211
  st.session_state.chat_history.append("Bot: Hello, how may I assist you today?")
212
- elif "password is wrong" in user_input.lower() and "user is locked" in user_input.lower():
213
  st.session_state.chat_history.append("Bot: Would you like me to reset your password for you?")
214
  elif "yes please" in user_input.lower():
215
  st.session_state.chat_history.append("Bot: Okay, I have reset your password. Please login with 12345678 as your password and then change it to a new password of your own choosing once prompted. Is there anything else I can help you with?")
 
209
  # Basic chat logic
210
  if "hello" in user_input.lower():
211
  st.session_state.chat_history.append("Bot: Hello, how may I assist you today?")
212
+ elif "password" in user_input.lower() or "locked" in user_input.lower():
213
  st.session_state.chat_history.append("Bot: Would you like me to reset your password for you?")
214
  elif "yes please" in user_input.lower():
215
  st.session_state.chat_history.append("Bot: Okay, I have reset your password. Please login with 12345678 as your password and then change it to a new password of your own choosing once prompted. Is there anything else I can help you with?")