Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ def respond(message, history, use_spanish, chatbot_mode, destinations, trip_leng
|
|
| 132 |
elif chatbot_mode == "Food/Attractions":
|
| 133 |
messages = [{"role": "system", "content": f"You're a friendly and gen z chatbot. Base your response on the provided context: {top_food} and {top_attraction}."}]
|
| 134 |
else:
|
| 135 |
-
messages = [{"role": "system", "content": f"You're a friendly and gen z chatbot helping travellers plan their trip to San Francisco and/or Los Angeles."]
|
| 136 |
|
| 137 |
# if history:
|
| 138 |
# messages.extend(history)
|
|
|
|
| 132 |
elif chatbot_mode == "Food/Attractions":
|
| 133 |
messages = [{"role": "system", "content": f"You're a friendly and gen z chatbot. Base your response on the provided context: {top_food} and {top_attraction}."}]
|
| 134 |
else:
|
| 135 |
+
messages = [{"role": "system", "content": f"You're a friendly and gen z chatbot helping travellers plan their trip to San Francisco and/or Los Angeles."}]
|
| 136 |
|
| 137 |
# if history:
|
| 138 |
# messages.extend(history)
|