Adnan083 commited on
Commit
9edda52
·
verified ·
1 Parent(s): f082534

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -0
app.py CHANGED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # app.py
2
+ import streamlit as st
3
+ from multipage import MultiPage
4
+ from pages import teacher_page, student_page
5
+
6
+ # Create an instance of the app
7
+ app = MultiPage()
8
+
9
+ # Title and description
10
+ st.set_page_config(page_title="EduConnect", layout="wide")
11
+ st.title("📚 EduConnect: Platform for Teachers and Students")
12
+ st.markdown("Empowering teachers and students with seamless collaboration and learning.")
13
+
14
+ # Add pages to the app
15
+ app.add_page("Teacher's Portal", teacher_page.app)
16
+ app.add_page("Student's Hub", student_page.app)
17
+
18
+ # Run the app
19
+ app.run()
20
+
21
+ # requirement.txt
22
+ streamlit
23
+ pandas
24
+ numpy