Muhammadtaha12 commited on
Commit
0a49bb8
·
verified ·
1 Parent(s): be5c3bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -63,20 +63,14 @@ def display_disease_info(disease_name):
63
  # Function to handle the chat bot
64
  def chat_bot(user_input):
65
  if 'cha hal aa' in user_input.lower():
 
 
66
  return "Khair aa, tu budha!"
67
  elif 'exit' in user_input.lower():
68
  return "Goodbye!"
69
  else:
70
  return "I'm not sure how to respond to that. Type 'exit' to end the chat."
71
  def chat_bot(user_input):
72
- if 'are you healthcare app' in user_input.lower():
73
- return "na rai mazak na kar maa app"
74
- elif 'exit' in user_input.lower():
75
- return "Goodbye!"
76
- else:
77
- return "I'm not sure how to respond to that. Type 'exit' to end the chat."
78
-
79
-
80
  # Streamlit App Interface
81
  def main():
82
  # Title of the app
 
63
  # Function to handle the chat bot
64
  def chat_bot(user_input):
65
  if 'cha hal aa' in user_input.lower():
66
+ if 'are you healthcare app' in user_input.lower():
67
+ return "na rai mazak na kar maa app"
68
  return "Khair aa, tu budha!"
69
  elif 'exit' in user_input.lower():
70
  return "Goodbye!"
71
  else:
72
  return "I'm not sure how to respond to that. Type 'exit' to end the chat."
73
  def chat_bot(user_input):
 
 
 
 
 
 
 
 
74
  # Streamlit App Interface
75
  def main():
76
  # Title of the app