File size: 666 Bytes
91a56f3
 
 
 
 
 
f903ace
91a56f3
 
 
 
f903ace
91a56f3
 
 
f903ace
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import streamlit as st
from components.study_path_generator import generate_study_path

def show_study_paths():
    st.title("Personalized AI-Generated Study Paths")
    
    # User selects their level and topic
    level = st.selectbox("Select your knowledge level", ['Beginner', 'Intermediate', 'Advanced'])
    topic = st.selectbox("Choose a topic", ['Neural Networks', 'Reinforcement Learning', 'Computer Vision', 'NLP'])
    
    if st.button("Generate Study Path"):
        # Call the generator to get the study path
        study_plan = generate_study_path(level, topic)
        st.subheader(f"Study Path for {topic} ({level})")
        st.write(study_plan)