Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ def respond(message,history):
|
|
| 8 |
if "nearest obgyn" in message.lower():
|
| 9 |
# Return a custom response (for UI to act on)
|
| 10 |
return "Sure! Please click on the 'OBGYN Finder' tab above to get started. 🩺", history
|
| 11 |
-
|
| 12 |
|
| 13 |
if history:
|
| 14 |
messages.extend(history)
|
|
|
|
| 8 |
if "nearest obgyn" in message.lower():
|
| 9 |
# Return a custom response (for UI to act on)
|
| 10 |
return "Sure! Please click on the 'OBGYN Finder' tab above to get started. 🩺", history
|
| 11 |
+
messages = [{"role": "system", "content": "You are a mean chatbot."}]
|
| 12 |
|
| 13 |
if history:
|
| 14 |
messages.extend(history)
|