RamV commited on
Commit
f59e560
·
1 Parent(s): 25b98ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,11 +21,11 @@ def generate_response(user_input):
21
  # Check if user input contains the phrase "how are you"
22
  elif "how are you" in user_input.lower():
23
  # Generate a response to the question "how are you"
24
- chat_response = "I'm a chatrobo created by Ram.V, I don't have feelings, but thanks for asking, hope you're doing well!"
25
  return chat_response
26
  elif "who is superstar" in user_input.lower():
27
  # Generate a response explaining the chatbot's purpose
28
- chat_response = "Even kids will know who superstar is! The only & only: *Superstar Rajinikanth*"
29
  return chat_response
30
  else:
31
  # Construct the prompt with the user input
 
21
  # Check if user input contains the phrase "how are you"
22
  elif "how are you" in user_input.lower():
23
  # Generate a response to the question "how are you"
24
+ chat_response = "I'm a chatrobo created by Ram.V, I don't have feelings, but thanks for asking,hope you're well! :)"
25
  return chat_response
26
  elif "who is superstar" in user_input.lower():
27
  # Generate a response explaining the chatbot's purpose
28
+ chat_response = "Even kids will know who superstar is! The one & only *Superstar Rajinikanth*"
29
  return chat_response
30
  else:
31
  # Construct the prompt with the user input