geethareddy commited on
Commit
757126a
Β·
verified Β·
1 Parent(s): a9e3958

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,14 +1,13 @@
1
  import gradio as gr
2
  from components.menu import generate_menu
3
- from components.popup_card import generate_popup_card
4
 
5
  def main():
6
  with gr.Blocks(css="static/css/styles.css") as app:
7
  gr.Markdown("# Restaurant Menu - Indian & Chinese Cuisine πŸœπŸ›")
8
  menu_section = generate_menu()
9
- app.append(menu_section)
10
 
11
- app.launch(share=True) # Enable sharing on Hugging Face
12
 
13
  if __name__ == "__main__":
14
  main()
 
1
  import gradio as gr
2
  from components.menu import generate_menu
 
3
 
4
  def main():
5
  with gr.Blocks(css="static/css/styles.css") as app:
6
  gr.Markdown("# Restaurant Menu - Indian & Chinese Cuisine πŸœπŸ›")
7
  menu_section = generate_menu()
8
+ gr.Row(menu_section) # Add the menu section to the app
9
 
10
+ app.launch(share=True)
11
 
12
  if __name__ == "__main__":
13
  main()