Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
#
|
4 |
st.set_page_config(page_title="AI-Driven Learning Platform", layout="wide")
|
5 |
|
6 |
st.sidebar.title("AI Learning Platform")
|
@@ -10,9 +10,10 @@ pages = {
|
|
10 |
"AI-Assisted Explanations": "ai_explanations"
|
11 |
}
|
12 |
|
13 |
-
# Sidebar for selecting page
|
14 |
selection = st.sidebar.radio("Navigate", list(pages.keys()))
|
15 |
|
|
|
16 |
if selection == "Personalized Study Paths":
|
17 |
from pages.study_paths import show_study_paths
|
18 |
show_study_paths()
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
# Set up the Streamlit page and navigation
|
4 |
st.set_page_config(page_title="AI-Driven Learning Platform", layout="wide")
|
5 |
|
6 |
st.sidebar.title("AI Learning Platform")
|
|
|
10 |
"AI-Assisted Explanations": "ai_explanations"
|
11 |
}
|
12 |
|
13 |
+
# Sidebar for selecting a page
|
14 |
selection = st.sidebar.radio("Navigate", list(pages.keys()))
|
15 |
|
16 |
+
# Navigation logic
|
17 |
if selection == "Personalized Study Paths":
|
18 |
from pages.study_paths import show_study_paths
|
19 |
show_study_paths()
|