Skip to content

PDF Summarizer with GPT-3.5, FastAPI & Streamlit An interactive web app to summarize PDF documents using OpenAI’s GPT-3.5. Built with FastAPI (backend) and Streamlit (frontend).

Notifications You must be signed in to change notification settings

themagedigest/pdf-summariser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📄 PDF Summarizer with GPT-3.5, FastAPI & Streamlit

An interactive web app to summarize PDF documents using OpenAI’s GPT-3.5.
Built with FastAPI (backend) and Streamlit (frontend).


✨ Features

  • 📑 Upload PDFs directly in the browser
  • ⚡ Generates concise summaries using GPT-3.5 via LangChain
  • 🖥️ FastAPI backend to handle summarization requests
  • 🎨 Streamlit frontend with a simple UI
  • 🔐 Secure API key handling via environment variables

🛠️ Tech Stack

  • LangChain – Python library
  • OpenAI GPT-3.5 – LLM
  • FastAPI – backend API server
  • Streamlit – frontend UI

🚀 Getting Started

  • Clone the repository - git clone https://github.com/themagedigest/pdf-summariser.git
  • cd pdf-summariser
  • Create & activate virtual environment -
    python -m venv venv
    source venv/bin/activate   # macOS/Linux
    venv\Scripts\activate      # Windows
    
  • Install dependencies - pip install -r requirements.txt
  • Set up environment variables Create a .env file in the project root and add your keys: OPENAI_API_KEY=your_api_key_here
  • Start the FASTAPI server - uvicorn api:app --reload
  • Start the Sreamlit application - streamlit run app.py

📷 Screenshots

  • Homepage
image
  • Output
image

About

PDF Summarizer with GPT-3.5, FastAPI & Streamlit An interactive web app to summarize PDF documents using OpenAI’s GPT-3.5. Built with FastAPI (backend) and Streamlit (frontend).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages