RamV commited on
Commit
5df322f
·
1 Parent(s): 8ed8b62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -16,6 +16,8 @@ def generate_response(user_input):
16
  chat_response = "I'm sorry, but I don't have the ability to check the weather. Is there something else I can help you with?"
17
  elif "how are you" in user_input.lower():
18
  chat_response = "I'm a chatbot created by Ram.V. I don't have feelings, but thanks for asking. Hope you're well! :-)"
 
 
19
  else:
20
  prompt = f"You said: {user_input}"
21
 
 
16
  chat_response = "I'm sorry, but I don't have the ability to check the weather. Is there something else I can help you with?"
17
  elif "how are you" in user_input.lower():
18
  chat_response = "I'm a chatbot created by Ram.V. I don't have feelings, but thanks for asking. Hope you're well! :-)"
19
+ elif "what's your name" in user_input.lower():
20
+ chat_response = "My name is ChatRobo :-)"
21
  else:
22
  prompt = f"You said: {user_input}"
23