Rammohan0504 commited on
Commit
b9f3fb2
·
verified ·
1 Parent(s): 9949293

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=[gr.Textbox(), gr.Textbox(), gr.Textbox(), gr.Number(), gr.Textbox()],
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