Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,8 @@ def suggest_recipes(ingredients):
|
|
20 |
prompt = (
|
21 |
f"You are an expert in cooking. Please suggest 2 recipes using the following "
|
22 |
f"ingredients: {ingredients}. Provide a title for each recipe, include "
|
23 |
-
f"preparation time, and list step-by-step directions do not include ingredients in response."
|
|
|
24 |
)
|
25 |
# Wrap the prompt in a HumanMessage object
|
26 |
|
|
|
20 |
prompt = (
|
21 |
f"You are an expert in cooking. Please suggest 2 recipes using the following "
|
22 |
f"ingredients: {ingredients}. Provide a title for each recipe, include "
|
23 |
+
f"preparation time, and list step-by-step directions do not include ingredients list in response."
|
24 |
+
# f"write soft apology for question other than recipe"
|
25 |
)
|
26 |
# Wrap the prompt in a HumanMessage object
|
27 |
|