Spaces:
Sleeping
Sleeping
tonyliu404
commited on
Update app.py
Browse files
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.
|
540 |
-
4.
|
|
|
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%
|