Spaces:
Running
Running
Create pages/study_paths.py
Browse files- pages/study_paths.py +13 -0
pages/study_paths.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from components.study_path_generator import generate_study_path
|
3 |
+
|
4 |
+
def show_study_paths():
|
5 |
+
st.title("Personalized AI-Generated Study Paths")
|
6 |
+
|
7 |
+
level = st.selectbox("Select your knowledge level", ['Beginner', 'Intermediate', 'Advanced'])
|
8 |
+
topic = st.selectbox("Choose a topic", ['Neural Networks', 'Reinforcement Learning', 'Computer Vision', 'NLP'])
|
9 |
+
|
10 |
+
if st.button("Generate Study Path"):
|
11 |
+
study_plan = generate_study_path(level, topic)
|
12 |
+
st.subheader(f"Study Path for {topic} ({level})")
|
13 |
+
st.write(study_plan)
|