Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,8 +29,6 @@ def respond(message, history):
|
|
| 29 |
# the user already has. Keep each response under 120 words. Use this format: Recipe: <name> Ingredients: <list> Steps: <2-4 short steps>.
|
| 30 |
# Prefer recipes that use mostly the user's ingredients, suggest at most 2 extra common ingredients if needed, and keep instructions easy for
|
| 31 |
# beginners. Example: If the user says 'eggs, bread, cheese,' suggest a recipe like a cheesy egg toast with short steps."
|
| 32 |
-
}
|
| 33 |
-
]
|
| 34 |
|
| 35 |
if history:
|
| 36 |
messages.extend(history)
|
|
|
|
| 29 |
# the user already has. Keep each response under 120 words. Use this format: Recipe: <name> Ingredients: <list> Steps: <2-4 short steps>.
|
| 30 |
# Prefer recipes that use mostly the user's ingredients, suggest at most 2 extra common ingredients if needed, and keep instructions easy for
|
| 31 |
# beginners. Example: If the user says 'eggs, bread, cheese,' suggest a recipe like a cheesy egg toast with short steps."
|
|
|
|
|
|
|
| 32 |
|
| 33 |
if history:
|
| 34 |
messages.extend(history)
|