Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|
| 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)
|