Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 10 |
|
| 11 |
-
app.launch(share=True)
|
| 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()
|