Skip to content

openrory/pdf-ai-summariser

Repository files navigation

PDF AI Summariser

A tool that uses AI to generate summaries from PDF documents.

Features

  • AI-powered PDF summarization
  • CLI interface
  • Streamlit front-end for file-upload

Prerequisites

  • Python 3.12 or higher
  • Ollama
  • uv (Optional)

Installation

  1. Clone the repository:
git clone 
  1. Create a virtual environment:
python -m venv /path/to/new/virtual/environment

or

uv venv

and activate:

source .venv/bin/active
  1. Install dependencies:
pip install -r requirements.txt 

or

uv pip install --requirements requirements.txt
  1. Install an Ollama model:
ollama pull llama3.2

Usage

python -m main.py <pdf_file_path> 

or

uv run python main.py <pdf_file_path>

or use the streamlit app to select a file:

streamlit run src/app.py 

or

uv run streamlit run src/app.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages