Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ with gr.Blocks() as demo:
|
|
| 106 |
add_to_cart_button = gr.Button("Add to Cart", visible=False)
|
| 107 |
add_to_cart_button.click(
|
| 108 |
add_to_cart,
|
| 109 |
-
inputs=[
|
| 110 |
outputs=[cart_display, notification]
|
| 111 |
)
|
| 112 |
|
|
|
|
| 106 |
add_to_cart_button = gr.Button("Add to Cart", visible=False)
|
| 107 |
add_to_cart_button.click(
|
| 108 |
add_to_cart,
|
| 109 |
+
inputs=[], # Inputs are handled via JavaScript popup
|
| 110 |
outputs=[cart_display, notification]
|
| 111 |
)
|
| 112 |
|