Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
|
|
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__":
|