The Learning Made Easy is a Streamlit application designed to simplify educational content for students. Using the power of OpenAI's GPT models, this app takes a chapter or any educational text uploaded in the form of a PDF and provides a simplified version of the content, making learning accessible and more manageable.
- PDF Upload: Users can upload educational material in PDF format.
- Content Simplification: Leverages OpenAI's GPT models to simplify the uploaded content into easy-to-understand language.
- Educational Focus: Tailored to enhance the learning experience by breaking down complex topics.
- PDF Processing: The app reads the uploaded PDF and extracts its text.
- Text Simplification: The extracted text is then processed by OpenAI's GPT models, which have been instructed to simplify the content and highlight chapter details.
- Python 3.6+
- Streamlit
- PyMuPDF (fitz)
- OpenAI Python SDK
git clone https://github.com/blessinvarkey/pdfreader-education-gpt4.git
Install the required Python packages:
pip install -r requirements.txt
Get your API key from OpenAI and set it as an environment variable.
streamlit run app.py
Upon launching the app, you'll be presented with an interface to upload a PDF file.
- Select a PDF file containing educational material you wish to simplify.
- Click on "Simplify Content" to process the uploaded file.
- The app will display a simplified version of the content, focusing on making it more understandable.
Please ensure that your OpenAI API key is kept secure and not exposed in the source code. It's recommended to use environment variables or secure vaults for API keys.
Contributions to improve the repo are welcome.
This project is licensed under the MIT License - see the LICENSE file for details.