Skip to content

SarraBenHamad/PDF-summarizer-using-openAI-gemini-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Summarizer

A simple web app that lets you upload a PDF, summarizes its content using OpenAI's GPT or Gemini you get to choose, and allows you to download the summary.


Features

  • Upload PDF files via a web interface.
  • choose OpenAI or Gemini models
  • Summarizes PDF content into 3-5 bullet points using OpenAI's GPT-3.5 Turbo.
  • Displays the summary on the page.
  • Download the summary as a .txt file.

Requirements

  • Python 3.7+
  • OpenAI API key
  • Flask
  • Flask-CORS
  • PyMuPDF (fitz)
  • python-dotenv

Setup

  1. Clone the repository or copy the project files.

  2. Install dependencies:

pip install flask flask-cors pymupdf python-dotenv openai

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published