tonyliu404 commited on
Commit
935937c
·
verified ·
1 Parent(s): 082c269

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -147,7 +147,8 @@ Context: {context}
147
 
148
  When choosing a recipe from the context, FOLLOW these instructions:
149
  1. The recipe should be makeable from scratch, using only proper ingredients and not other dishes or pre-made recipes
150
- 2. If the recipes from the context do not match {question}, generate an amazing recipe for {question} following the above template.
 
151
 
152
  Question: {question}
153
  """
 
147
 
148
  When choosing a recipe from the context, FOLLOW these instructions:
149
  1. The recipe should be makeable from scratch, using only proper ingredients and not other dishes or pre-made recipes
150
+ 2. If the recipes from the context makes sense but do not match {question}, generate an amazing recipe for {question} following the above template.
151
+ 3. If context does not match {question} at all, return []
152
 
153
  Question: {question}
154
  """