Talip7's picture
Update README.md
bb309bf verified
---
title: Multilingual Summarizer
emoji: 🧠
colorFrom: green
colorTo: indigo
sdk: gradio
app_file: app.py
pinned: false
sdk_version: 5.30.0
---
# πŸ“š Multilingual Text & PDF Summarizer with GPT-3.5
This application allows users to upload a PDF file or paste a block of text, choose the language for output, and receive:
- πŸ“„ A **concise summary** of the content
- 🏷️ An automatically generated **title**
- πŸ”‘ A list of **5 relevant keywords**
All powered by **OpenAI's GPT-3.5 model**.
---
## 🧰 Features
### βœ… Input Options
- Upload PDF files (supports Unicode and multiple languages)
- Or paste your own text into a textbox
### 🌐 Multilingual Interface & Output
- Choose the **interface language** (UI labels adapt)
- Choose the **summary output language** (used for translation and output)
### πŸ” Auto-Translation
- If the text and output languages differ, the app will first translate, then summarize
### βœ‚οΈ Custom Output Length
- Define a character limit for the summary (e.g., 300 characters)
---
## πŸ“ How to Use
1. Select your preferred **interface language**
2. Click **Continue** to open the summarization tools
3. Choose the **summary language**
4. Define a **character limit**
5. Paste your text or upload a **PDF**
6. Click **Summarize** to see the results
---
## ⚠️ Troubleshooting
- **PDF Error:** If the file is a scanned image, it may not be extractable. Try using OCR first.
- **Translation Note:** Translations are AI-generated and may be approximate
- **No Output:** Make sure you've uploaded a valid file or entered text
---
## πŸ”§ Powered By
- [Gradio](https://gradio.app/)
- [pdfplumber](https://github.com/jsvine/pdfplumber)
- [OpenAI GPT-3.5](https://platform.openai.com/docs)
---
## πŸ“„ License
MIT License
---
## ✨ Created By
[https://huggingface.co/Talip7](https://huggingface.co/Talip7)