Open_AI_o1_Hackathon / pages /study_paths.py
Ashar086's picture
Create pages/study_paths.py
91a56f3 verified
raw
history blame
573 Bytes
import streamlit as st
from components.study_path_generator import generate_study_path
def show_study_paths():
st.title("Personalized AI-Generated Study Paths")
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"):
study_plan = generate_study_path(level, topic)
st.subheader(f"Study Path for {topic} ({level})")
st.write(study_plan)