SyedaRidaAI's picture
Create app.py
07e960b verified
Raw History Blame Contribute Delete
2.83 kB
import streamlit as st
st.set_page_config(page_title="Smart Career Advisor", layout="centered")
st.title("πŸŽ“ Smart Career Advisor")
st.write("Get personalized career suggestions based on your profile!")
# --- Collect User Input ---
st.header("πŸ‘€ Tell us about yourself")
education = st.selectbox("Your highest education level:", ["Matric", "Intermediate", "Bachelor's", "Master's", "PhD"])
interests = st.text_area("What are your interests? (e.g., coding, design, business)")
goal = st.text_input("What is your future goal?")
work_style = st.selectbox("Preferred work style:", ["Remote", "Office", "Freelance", "Hybrid"])
education_reason = st.text_area("Why are you getting an education?")
# --- Process on Button Click ---
if st.button("Suggest Career Path"):
st.success("βœ… Here's what we suggest for you:")
# --- Career Path Suggestion ---
st.subheader("🎯 Career Path")
if "coding" in interests.lower():
st.write("- Software Engineering")
st.write("- Data Science")
st.write("- AI & Machine Learning")
elif "design" in interests.lower():
st.write("- UI/UX Design")
st.write("- Graphic Design")
st.write("- Animation")
elif "business" in interests.lower():
st.write("- Marketing")
st.write("- Entrepreneurship")
st.write("- E-Commerce")
else:
st.write("- Explore multidisciplinary fields based on your evolving interests.")
# --- Job Roles ---
st.subheader("πŸ‘¨β€πŸ’Ό Suitable Job Roles")
if "coding" in interests.lower():
st.write("- Python Developer")
st.write("- Web Developer")
st.write("- App Developer")
elif "design" in interests.lower():
st.write("- UX Designer")
st.write("- Illustrator")
st.write("- Motion Graphics Artist")
elif "business" in interests.lower():
st.write("- Digital Marketer")
st.write("- Sales Executive")
st.write("- Startup Founder")
else:
st.write("- Internships and general training roles to explore further")
# --- Learning Resources ---
st.subheader("πŸ“š Learning Resources")
st.markdown("- [Coursera](https://www.coursera.org)")
st.markdown("- [YouTube](https://www.youtube.com)")
st.markdown("- [freeCodeCamp](https://www.freecodecamp.org)")
st.markdown("- [Khan Academy](https://www.khanacademy.org)")
# --- Future Opportunities ---
st.subheader("πŸš€ Future Opportunities")
st.write("- Online Freelancing")
st.write("- Remote Work with Global Companies")
st.write("- Entrepreneurship")
st.write("- Higher Education (Scholarships/Fellowships)")
# --- Personal Message ---
st.subheader("πŸ’‘ Final Advice")
st.info("Stay curious and keep learning! The future is full of possibilities. 🌟")