billusanda007 commited on
Commit
21b4bcd
·
verified ·
1 Parent(s): a81087e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -87,11 +87,11 @@ music = {
87
  }
88
 
89
  def get_response(user_input):
90
- #if 'hello' in user_input.lower() or 'hi' in user_input.lower():
91
- #return "Hello! How can I assist you today?"
92
 
93
- #if 'thank you' in user_input.lower() or 'thanks' in user_input.lower() or 'thanx' in user_input.lower():
94
- #return "You are welcome!"
95
 
96
  # Check if the user asks for the definition of a disease
97
  disease_keywords = ['definition', 'what is', 'explain', "what's", 'whats']
 
87
  }
88
 
89
  def get_response(user_input):
90
+ if 'hello' in user_input.lower() or 'hi' in user_input.lower():
91
+ return "Hello! How can I assist you today?"
92
 
93
+ if 'thank you' in user_input.lower() or 'thanks' in user_input.lower() or 'thanx' in user_input.lower():
94
+ return "You are welcome!"
95
 
96
  # Check if the user asks for the definition of a disease
97
  disease_keywords = ['definition', 'what is', 'explain', "what's", 'whats']