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)