tonyliu404 commited on
Commit
c2c0cae
·
verified ·
1 Parent(s): 20f5fc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -536,8 +536,9 @@ if recipe_submit and uploaded_image:
536
  {query}
537
  1. If the user's query relates to any of the classified predictions (even partially or conceptually), select the most relevant dish from the predictions.
538
  2. If the query does not align with the predictions, disregard them and suggest a dish that best matches the user's query.
539
- 3. Return in the format: [dish]
540
- 4. ONLY return the name of the dish in brackets.
 
541
 
542
  Example 1:
543
  Predictions: apple pie: 50%, cherry tart: 30%, vanilla ice cream: 20%
 
536
  {query}
537
  1. If the user's query relates to any of the classified predictions (even partially or conceptually), select the most relevant dish from the predictions.
538
  2. If the query does not align with the predictions, disregard them and suggest a dish that best matches the user's query.
539
+ 3. Consider culture, ingredients, cooking steps, etc.
540
+ 4. Return in the format: [dish]
541
+ 5. ONLY return the name of the dish in brackets.
542
 
543
  Example 1:
544
  Predictions: apple pie: 50%, cherry tart: 30%, vanilla ice cream: 20%