nagasurendra commited on
Commit
bad687a
·
verified ·
1 Parent(s): 5625609

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from gradio import Blocks
2
+ from routes.auth import login, sign_up
3
+ from routes.menu import load_menu
4
+ from routes.orders import add_to_order, view_order, place_order
5
+ from utils.file_initializer import initialize_files
6
+
7
+ # Initialize all files and configurations
8
+ initialize_files()
9
+
10
+ def restaurant_interface():
11
+ with Blocks() as app:
12
+ app.load_page("templates/index.html")
13
+ return app
14
+
15
+ if __name__ == "__main__":
16
+ app = restaurant_interface()
17
+ app.launch()