Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +2 -0
templates/index.html
CHANGED
@@ -445,11 +445,13 @@
|
|
445 |
{ text: 'Non-Vegetarian', class: 'red' }
|
446 |
];
|
447 |
} else if (lastMessage.includes('non-vegetarian')) {
|
|
|
448 |
currentStep = 'select_ingredients';
|
449 |
botResponse = 'Great choice! 🍽️ Please select a non-vegetarian option:';
|
450 |
fetchIngredients('non-vegetarian');
|
451 |
return;
|
452 |
} else if (lastMessage.includes('vegetarian')) {
|
|
|
453 |
currentStep = 'select_ingredients';
|
454 |
botResponse = 'Great choice! 🍽️ Here are some vegetarian ingredients:';
|
455 |
fetchIngredients('vegetarian');
|
|
|
445 |
{ text: 'Non-Vegetarian', class: 'red' }
|
446 |
];
|
447 |
} else if (lastMessage.includes('non-vegetarian')) {
|
448 |
+
console.log('User selected non-vegetarian option.');
|
449 |
currentStep = 'select_ingredients';
|
450 |
botResponse = 'Great choice! 🍽️ Please select a non-vegetarian option:';
|
451 |
fetchIngredients('non-vegetarian');
|
452 |
return;
|
453 |
} else if (lastMessage.includes('vegetarian')) {
|
454 |
+
console.log('User selected vegetarian option.');
|
455 |
currentStep = 'select_ingredients';
|
456 |
botResponse = 'Great choice! 🍽️ Here are some vegetarian ingredients:';
|
457 |
fetchIngredients('vegetarian');
|