Spaces:
Sleeping
Sleeping
Download app.py from SyedaRidaAI/smart_career_advisor: direct link, hf CLI and curl.
- Browser
- Download file 2.83 kB
-
https://huggingface.co/spaces/SyedaRidaAI/smart_career_advisor/resolve/main/app.py
- Command line
-
hf download hf://spaces/SyedaRidaAI/smart_career_advisor/app.py
-
curl -L -o app.py https://huggingface.co/spaces/SyedaRidaAI/smart_career_advisor/resolve/main/app.py
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. π") | |