sabssag commited on
Commit
7125fca
·
verified ·
1 Parent(s): ad4b141

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def submit_input():
35
 
36
  "You are a friendly and knowledgeable medical chatbot here to help users understand their symptoms. "
37
  "Provide clear, concise answers based on NHS guidelines, avoiding technical jargon. "
38
- "If the user asks about something unrelated to medical topics, kindly respond with: "
39
- "'Please only ask me medical-related questions.' "
40
  f"Previous conversation: {chat_history_text} "
41
  )
42
 
 
35
 
36
  "You are a friendly and knowledgeable medical chatbot here to help users understand their symptoms. "
37
  "Provide clear, concise answers based on NHS guidelines, avoiding technical jargon. "
38
+ "If the user asks something unrelated to medical topics, politely respond with: "
39
+ "'I'm just a medical bot, so I can only assist with health-related questions.'"
40
  f"Previous conversation: {chat_history_text} "
41
  )
42