Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,7 +115,7 @@ with gr.Blocks() as demo:
|
|
| 115 |
add_button.click(fn=add_to_cart, inputs=item_name_input, outputs=menu_html)
|
| 116 |
update_button.click(fn=update_quantity, inputs=[item_name_input, operation_input], outputs=menu_html)
|
| 117 |
|
| 118 |
-
#
|
| 119 |
-
menu_html
|
| 120 |
|
| 121 |
demo.launch()
|
|
|
|
| 115 |
add_button.click(fn=add_to_cart, inputs=item_name_input, outputs=menu_html)
|
| 116 |
update_button.click(fn=update_quantity, inputs=[item_name_input, operation_input], outputs=menu_html)
|
| 117 |
|
| 118 |
+
# Add components directly without .render()
|
| 119 |
+
menu_html
|
| 120 |
|
| 121 |
demo.launch()
|