Spaces:
Sleeping
A newer version of the Gradio SDK is available:
6.9.0
title: Course Recommender & Learning Roadmap Generator
emoji: π
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.23.1
app_file: app.py
pinned: false
license: mit
Course Recommender & Learning Roadmap Generator
A comprehensive tool to help you find the perfect courses and create personalized learning journeys based on your interests, skill level, and goals.
Features
- β¨ Course Recommendations: Find curated courses that match your topic of interest and skill level.
- π€ AI-Enhanced Personalization: Get recommendations tailored to your specific learning goals (requires OpenAI API key).
- π Learning Roadmaps: Generate detailed, step-by-step learning paths for any subject.
- π Project Suggestions: Receive practical project ideas to apply your new skills.
- π Resource Lists: Get recommendations for books, communities, and tools.
Installation
Clone this repository:
git clone https://github.com/yourusername/course-recommender.git cd course-recommenderInstall the required dependencies:
pip install -r requirements.txtCreate a
.envfile in the root directory with your OpenAI API key (optional):OPENAI_API_KEY=your_api_key_here
Usage
Run the main script:
python app.py
Follow the interactive prompts to:
- Enter your topic of interest.
- Specify your current skill level.
- Enable AI-enhanced recommendations (if API key is configured).
- Describe your learning goals or career objectives.
- Explore the generated learning roadmap.
- Browse recommended courses.
- View detailed information about specific courses.
Deployment on Hugging Face Spaces
Using Gradio (Recommended)
If deploying on Hugging Face Spaces with Gradio, ensure your repository includes:
app.pyrequirements.txtREADME.md(this file)
Once uploaded, your Space should automatically launch with Gradio.
Using Flask (Alternative)
If you prefer Flask, update the README.md configuration:
sdk: docker
Then ensure you have a Dockerfile for deployment.
Data Source
The application uses Coursera course data loaded from a CSV file. The default file name is Coursera.csv, which should be placed in the same directory as the script.
Requirements
- Python 3.7+
- Dependencies listed in
requirements.txt
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Uses the Rich library for beautiful terminal output.
- Optionally uses OpenAI's GPT models for enhanced recommendations.
- Deployable on Hugging Face Spaces with Gradio or Flask.