Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,5 +6,30 @@ colorTo: pink
|
|
| 6 |
sdk: streamlit
|
| 7 |
pinned: false
|
| 8 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
Edit this `README.md` markdown file to author your organization card.
|
|
|
|
| 6 |
sdk: streamlit
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
+
# app.py
|
| 10 |
+
import streamlit as st
|
| 11 |
+
from multipage import MultiPage
|
| 12 |
+
from pages import teacher_page, student_page
|
| 13 |
+
|
| 14 |
+
# Create an instance of the app
|
| 15 |
+
app = MultiPage()
|
| 16 |
+
|
| 17 |
+
# Title and description
|
| 18 |
+
st.set_page_config(page_title="EduConnect", layout="wide")
|
| 19 |
+
st.title("📚 EduConnect: Platform for Teachers and Students")
|
| 20 |
+
st.markdown("Empowering teachers and students with seamless collaboration and learning.")
|
| 21 |
+
|
| 22 |
+
# Add pages to the app
|
| 23 |
+
app.add_page("Teacher's Portal", teacher_page.app)
|
| 24 |
+
app.add_page("Student's Hub", student_page.app)
|
| 25 |
+
|
| 26 |
+
# Run the app
|
| 27 |
+
app.run()
|
| 28 |
+
|
| 29 |
+
# requirement.txt
|
| 30 |
+
streamlit
|
| 31 |
+
pandas
|
| 32 |
+
numpy
|
| 33 |
+
|
| 34 |
|
| 35 |
Edit this `README.md` markdown file to author your organization card.
|