الملفات
PDFSummerizorV1/README.md
2025-09-09 13:23:54 +03:00

788 B

PDF Summarizer V1

This project is a command-line tool to summarize PDF documents using a two-step process with AI models.

How it works

  1. Extracts Text: The tool first extracts the text content from the provided PDF file.
  2. Initial Summary: It then uses a generative AI model (e.g., gemma-3-4b-it) to create an initial summary of the text.
  3. Refined Summary: This initial summary is then passed to a second, potentially more advanced model (e.g., QwQ-32B), to refine and improve the summary.

How to use

  1. Install the required dependencies:
    pip install -r requirements.txt
    
  2. Place your PDF file in the uploads directory.
  3. Run the application from your terminal:
    python app.py uploads/your_file.pdf