RamV commited on
Commit
c2f51da
·
1 Parent(s): b18c4a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -14,6 +14,8 @@ def generate_response(user_input):
14
  chat_response = "Even kids will know who Superstar is! The one and only: *Superstar Rajinikanth*."
15
  elif "what is the weather like" in user_input.lower():
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
  else:
18
  prompt = f"You said: {user_input}"
19
 
 
14
  chat_response = "Even kids will know who Superstar is! The one and only: *Superstar Rajinikanth*."
15
  elif "what is the weather like" in user_input.lower():
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