geethareddy commited on
Commit
8000b85
Β·
verified Β·
1 Parent(s): 5362cc4

Update app.py

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