Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -348,7 +348,8 @@ if uploaded_image and recipe_submit:
|
|
348 |
{query}
|
349 |
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.
|
350 |
2. If the query does not align with the predictions, disregard them and suggest a dish that best matches the user's query.
|
351 |
-
3. Return in the format: [dish]
|
|
|
352 |
|
353 |
Example 1:
|
354 |
Predictions: apple pie: 50%, cherry tart: 30%, vanilla ice cream: 20%
|
|
|
348 |
{query}
|
349 |
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.
|
350 |
2. If the query does not align with the predictions, disregard them and suggest a dish that best matches the user's query.
|
351 |
+
3. Return in the format: [dish]
|
352 |
+
4. ONLY return the name of the dish in brackets.
|
353 |
|
354 |
Example 1:
|
355 |
Predictions: apple pie: 50%, cherry tart: 30%, vanilla ice cream: 20%
|