Spaces:
Sleeping
Sleeping
updated2
Browse files- shopping_cart_gradio.py +1 -1
shopping_cart_gradio.py
CHANGED
|
@@ -37,7 +37,7 @@ def show_cart():
|
|
| 37 |
def calculate_total():
|
| 38 |
return f"₹{sum(item[2] for item in cart)}"
|
| 39 |
|
| 40 |
-
# Gradio interface to use
|
| 41 |
product_choices = list(get_inventory_dict().keys())
|
| 42 |
|
| 43 |
with gr.Blocks() as app:
|
|
|
|
| 37 |
def calculate_total():
|
| 38 |
return f"₹{sum(item[2] for item in cart)}"
|
| 39 |
|
| 40 |
+
# Gradio interface to use to make it work
|
| 41 |
product_choices = list(get_inventory_dict().keys())
|
| 42 |
|
| 43 |
with gr.Blocks() as app:
|