Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ def respond(message, history):
|
|
| 108 |
|
| 109 |
str_recipes_chunk = "\n".join(best_recipes_chunk)
|
| 110 |
|
| 111 |
-
messages = [{"role":"system","content": "You are a chatbot that is a nutrition expert and helps people with their nutritional goals. You help them plan meals based on" +
|
| 112 |
|
| 113 |
if history:
|
| 114 |
messages.extend(history)
|
|
|
|
| 108 |
|
| 109 |
str_recipes_chunk = "\n".join(best_recipes_chunk)
|
| 110 |
|
| 111 |
+
messages = [{"role":"system","content": "You are a chatbot that is a nutrition expert and helps people with their nutritional goals. You help them plan meals based on" + str_recipes_chunk + "."}]
|
| 112 |
|
| 113 |
if history:
|
| 114 |
messages.extend(history)
|