Update app.py
Browse files
app.py
CHANGED
@@ -245,15 +245,14 @@ def process_command(command):
|
|
245 |
command = command.lower()
|
246 |
|
247 |
# Show the menu without categorizing the items
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
|
258 |
# Add item to order
|
259 |
elif "add" in command:
|
@@ -296,5 +295,6 @@ def process_command(command):
|
|
296 |
"- Place the order"
|
297 |
)
|
298 |
|
|
|
299 |
if __name__ == "__main__":
|
300 |
app.run(host="0.0.0.0", port=7860)
|
|
|
245 |
command = command.lower()
|
246 |
|
247 |
# Show the menu without categorizing the items
|
248 |
+
if "menu" in command or "what’s the menu" in command or "Show me the menu" in command:
|
249 |
+
menu_response = (
|
250 |
+
"Here are the available food items: "
|
251 |
+
"Vegetable Biryani, Butter Chicken, Paneer Butter Masala, Chicken Biryani, "
|
252 |
+
"Lassi, Milkshake, Gulab Jamun, Ice Cream. "
|
253 |
+
"Please let me know what you'd like to add to your order."
|
254 |
+
)
|
255 |
+
return menu_response
|
|
|
256 |
|
257 |
# Add item to order
|
258 |
elif "add" in command:
|
|
|
295 |
"- Place the order"
|
296 |
)
|
297 |
|
298 |
+
|
299 |
if __name__ == "__main__":
|
300 |
app.run(host="0.0.0.0", port=7860)
|