dschandra commited on
Commit
c681362
·
verified ·
1 Parent(s): c4c9539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -15
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
- menu_response = (
250
- "Here are the available food items: \n"
251
- "Vegetable Biryani\n"
252
- "Butter Chicken\n"
253
- "Paneer Butter Masala\n"
254
- "Chicken Biryani\n"
255
- "Lassi\n"
256
- "Milkshake\n"
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)