yinonh / PDFSummarizer

PDFSummarizer is a Git repository that provides an application to summarize PDF files using the OpenAI API. This application is built with the Django framework and integrates the capabilities of OpenAI to extract key information from PDF documents and present it in a summarized form.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF Summarizer

PDFSummarizer is a web application that allows users to summarize PDF files by either uploading the file or by providing the URL of the file πŸ”πŸ“„. The application integrates with Sci-Hub to fetch the PDF file and uses OpenAI API to provide high-quality summarization πŸ€–πŸ’¬.

Please note that this repository is a work in progress and is not yet complete.

Features

  • PDF file upload or URL input for summarization πŸ“ŽπŸ’»
  • Integrates with OpenAI API to provide high-quality summarization πŸ€–πŸ’¬

Requirements

  • Python 3.x 🐍
  • Django 3.x πŸ’»
  • OpenAI API key πŸ”‘

Installation

To install the Django PDFSummarizer, follow these steps:

  1. Clone the repository to your local machine using git clone https://github.com/yinonh/PDFSummarizer.git πŸ“₯
  2. Navigate to the project directory using cd PDFSummarizer πŸ—‚οΈ
  3. Create a virtual environment using python -m venv myenv and activate it using source myenv/bin/activate on Linux or myenv\Scripts\activate on Windows πŸ’»
  4. Install the required packages using pip install -r requirements.txt πŸ“¦
  5. Add your OpenAI API key to the environment variables or to the local_settings.py file πŸ”’
  6. Run the development server using python manage.py runserver πŸš€

Usage

To use the Django PDFSummarizer, follow these steps:

  1. Input either the PDF file or the URL of the file on Sci-Hub πŸ“ŽπŸ’»
  2. Wait for the file to be summarized πŸ•
  3. View the summarized text πŸ“

Example

Django PDFSummarizer in action

Summary of my CV:

enter image description here

Summary this article:

enter image description here

Contribution

Contributions to the Django PDFSummarizer are always welcome! If you have a bugfix, improvement, or new feature, please create a pull request or open an issue 🀝. Please note that this repository is a work in progress.

License

Django PDFSummarizer is licensed under the MIT license πŸ“„.

About

PDFSummarizer is a Git repository that provides an application to summarize PDF files using the OpenAI API. This application is built with the Django framework and integrates the capabilities of OpenAI to extract key information from PDF documents and present it in a summarized form.


Languages

Language:Python 84.1%Language:HTML 15.9%