DSatishchandra commited on
Commit
dd6336d
·
verified ·
1 Parent(s): 43f3e77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ def process_command(command):
221
  return "The item you are trying to remove is not in your cart."
222
 
223
  # Handle final order
224
- if "final order" in command or "submit" in command:
225
  if cart:
226
  order_details = ", ".join([f"{item[0]} x{item[2]} (₹{item[1] * item[2]})" for item in cart])
227
  total = sum(item[1] * item[2] for item in cart)
 
221
  return "The item you are trying to remove is not in your cart."
222
 
223
  # Handle final order
224
+ if "final order" in command or "submit" in command or "Proceed" in command or "place the order" in command:
225
  if cart:
226
  order_details = ", ".join([f"{item[0]} x{item[2]} (₹{item[1] * item[2]})" for item in cart])
227
  total = sum(item[1] * item[2] for item in cart)