Update app.py
Browse files
app.py
CHANGED
@@ -246,19 +246,14 @@ def process_command(command):
|
|
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 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
"Gulab Jamun\n"
|
258 |
-
"Ice Cream\n"
|
259 |
-
"Please let me know what you'd like to add to your order."
|
260 |
-
)
|
261 |
-
return menu_response
|
262 |
|
263 |
# Add item to order
|
264 |
elif "add" in command:
|
@@ -301,7 +296,5 @@ def process_command(command):
|
|
301 |
"- Place the order"
|
302 |
)
|
303 |
|
304 |
-
|
305 |
-
|
306 |
if __name__ == "__main__":
|
307 |
app.run(host="0.0.0.0", port=7860)
|
|
|
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 |
+
"Menu: "
|
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 |
|
258 |
# Add item to order
|
259 |
elif "add" in command:
|
|
|
296 |
"- Place the order"
|
297 |
)
|
298 |
|
|
|
|
|
299 |
if __name__ == "__main__":
|
300 |
app.run(host="0.0.0.0", port=7860)
|