Open_AI_o1_Hackathon / pages /study_paths.py
Ashar086's picture
Update pages/study_paths.py
f903ace verified
raw
history blame contribute delete
666 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")
# 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)