هذا الالتزام موجود في:
2025-09-09 13:23:54 +03:00
التزام 6639d3f4c2
5 ملفات معدلة مع 177 إضافات و0 حذوفات

21
README.md Normal file
عرض الملف

@@ -0,0 +1,21 @@
# 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:
```bash
pip install -r requirements.txt
```
2. Place your PDF file in the `uploads` directory.
3. Run the application from your terminal:
```bash
python app.py uploads/your_file.pdf
```