Update app.py
Browse files
app.py
CHANGED
@@ -67,11 +67,11 @@ with gr.Blocks() as demo:
|
|
67 |
gr.Markdown("# Welcome to Biryani Hub")
|
68 |
|
69 |
with gr.Row():
|
70 |
-
menu_display = gr.HTML(value=menu_html
|
71 |
cart_button = gr.Button("View Cart", visible=True)
|
72 |
cart_display = gr.HTML(value=view_cart(), visible=False)
|
73 |
|
74 |
cart_button.click(cart_interface, inputs=[], outputs=[menu_display, cart_display])
|
75 |
|
76 |
# Launch the app
|
77 |
-
demo.launch()
|
|
|
67 |
gr.Markdown("# Welcome to Biryani Hub")
|
68 |
|
69 |
with gr.Row():
|
70 |
+
menu_display = gr.HTML(value=menu_html) # Removed `interactive=False`
|
71 |
cart_button = gr.Button("View Cart", visible=True)
|
72 |
cart_display = gr.HTML(value=view_cart(), visible=False)
|
73 |
|
74 |
cart_button.click(cart_interface, inputs=[], outputs=[menu_display, cart_display])
|
75 |
|
76 |
# Launch the app
|
77 |
+
demo.launch()
|