Ashar086 commited on
Commit
f903ace
·
verified ·
1 Parent(s): f5c9fb8

Update pages/study_paths.py

Browse files
Files changed (1) hide show
  1. pages/study_paths.py +3 -0
pages/study_paths.py CHANGED
@@ -4,10 +4,13 @@ from components.study_path_generator import generate_study_path
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)
 
 
4
  def show_study_paths():
5
  st.title("Personalized AI-Generated Study Paths")
6
 
7
+ # User selects their level and topic
8
  level = st.selectbox("Select your knowledge level", ['Beginner', 'Intermediate', 'Advanced'])
9
  topic = st.selectbox("Choose a topic", ['Neural Networks', 'Reinforcement Learning', 'Computer Vision', 'NLP'])
10
 
11
  if st.button("Generate Study Path"):
12
+ # Call the generator to get the study path
13
  study_plan = generate_study_path(level, topic)
14
  st.subheader(f"Study Path for {topic} ({level})")
15
  st.write(study_plan)
16
+