Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
39 |
-
"'
|
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 |
|