Rammohan0504 commited on
Commit
a294a10
·
verified ·
1 Parent(s): 0ec5210

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
 
3
  menu_data = [
4
  {"name": "Veg Burger", "category": "VEGAN",
@@ -170,6 +171,8 @@ def display_dishes(category):
170
  html_content += "</div>"
171
  return html_content
172
 
 
 
173
  # Main Gradio App
174
  with gr.Blocks() as demo:
175
  gr.HTML(popup_html) # Add the popup container and overlay
@@ -200,4 +203,4 @@ with gr.Blocks() as demo:
200
  outputs=dish_display
201
  )
202
 
203
- demo.launch()
 
1
  import gradio as gr
2
+ from cart_tab import add_to_cart, display_cart
3
 
4
  menu_data = [
5
  {"name": "Veg Burger", "category": "VEGAN",
 
171
  html_content += "</div>"
172
  return html_content
173
 
174
+
175
+
176
  # Main Gradio App
177
  with gr.Blocks() as demo:
178
  gr.HTML(popup_html) # Add the popup container and overlay
 
203
  outputs=dish_display
204
  )
205
 
206
+ demo.launch()