Spaces:
Sleeping
Sleeping
| import streamlit as st | |
| st.set_page_config(page_title="Study Interest Recommender", page_icon="π") | |
| st.title("π Course Recommender Based on Your Study Interest") | |
| # User selects interest | |
| interest = st.selectbox( | |
| "What are you interested in?", | |
| ["Select one", "Artificial Intelligence", "Cybersecurity", "Web Development", "Data Science", "Electronics", "Telecommunication"] | |
| ) | |
| # Simple logic for course suggestions | |
| courses = { | |
| "Artificial Intelligence": [ | |
| "Introduction to AI - Coursera", | |
| "Machine Learning by Andrew Ng - Coursera", | |
| "AI for Everyone - edX" | |
| ], | |
| "Cybersecurity": [ | |
| "Cybersecurity Fundamentals - IBM", | |
| "Ethical Hacking - Udemy", | |
| "Network Security - Coursera" | |
| ], | |
| "Web Development": [ | |
| "Full Stack Web Dev - freeCodeCamp", | |
| "Frontend with HTML/CSS/JS - Codecademy", | |
| "React for Beginners - Scrimba" | |
| ], | |
| "Data Science": [ | |
| "Python for Data Science - Coursera", | |
| "Data Science Specialization - Johns Hopkins", | |
| "Data Analysis with Pandas - Kaggle" | |
| ], | |
| "Electronics": [ | |
| "Basic Electronics - NPTEL", | |
| "Digital Logic Design - MIT OCW", | |
| "Embedded Systems - edX" | |
| ], | |
| "Telecommunication": [ | |
| "5G Fundamentals - Coursera", | |
| "Telecom Networks - FutureLearn", | |
| "Wireless Communication - MIT OCW" | |
| ] | |
| } | |
| if interest != "Select one": | |
| st.subheader("π Recommended Courses:") | |
| for course in courses[interest]: | |
| st.write("β ", course) | |