ritikaaA commited on
Commit
6f177dd
·
verified ·
1 Parent(s): e22ba95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -16,9 +16,8 @@ def respond(message, history):
16
  "puke", "vomit", "throw up", "seizure", "bleeding", "choking",
17
  "can't breathe", "emergency", "poison", "collapsed", "trauma", "injury"
18
  ]
19
- if any(word in message.lower() for word in urgent_keywords):
20
- return (
21
- "This sounds like a possible medical emergency. "
22
  "Please contact your veterinarian or an emergency animal hospital immediately. "
23
  "Do not rely solely on online advice."
24
  )
 
16
  "puke", "vomit", "throw up", "seizure", "bleeding", "choking",
17
  "can't breathe", "emergency", "poison", "collapsed", "trauma", "injury"
18
  ]
19
+ if any(word in message.lower() for word in urgent_keywords):
20
+ return ("This sounds like a possible medical emergency. "
 
21
  "Please contact your veterinarian or an emergency animal hospital immediately. "
22
  "Do not rely solely on online advice."
23
  )