Spaces:
Sleeping
Sleeping
Create README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,31 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
| 1 |
+
# AI Document & Image Analysis Web Service
|
| 2 |
+
|
| 3 |
+
π A FastAPI-powered web app for **document summarization**, **image captioning**, and **AI question answering** using Hugging Face models.
|
| 4 |
+
|
| 5 |
+
## Features
|
| 6 |
+
- π **Document Summarization** (PDF, DOCX, PPTX, Excel)
|
| 7 |
+
- πΌοΈ **Image Captioning** (JPEG, PNG)
|
| 8 |
+
- β **Question Answering** (text + images)
|
| 9 |
+
- π **User-friendly web interface**
|
| 10 |
+
|
| 11 |
+
## How to Use
|
| 12 |
+
1. **Upload** a document or image.
|
| 13 |
+
2. Choose a function:
|
| 14 |
+
- **Summarize**: Get a concise summary.
|
| 15 |
+
- **Caption**: Generate an image description.
|
| 16 |
+
- **QA**: Ask questions about the content.
|
| 17 |
+
3. View results instantly!
|
| 18 |
+
|
| 19 |
+
## Models Used
|
| 20 |
+
- `facebook/bart-large-cnn` (Summarization)
|
| 21 |
+
- `Salesforce/blip-image-captioning-large` (Image Captioning)
|
| 22 |
+
- `deepseek-ai/DeepSeek-V2-Chat` (Question Answering)
|
| 23 |
+
|
| 24 |
+
## Technical Details
|
| 25 |
+
- **Backend**: FastAPI (Python)
|
| 26 |
+
- **Frontend**: HTML/CSS/JavaScript
|
| 27 |
+
- **Deployment**: Docker on Hugging Face Spaces
|
| 28 |
+
|
| 29 |
---
|
| 30 |
|
| 31 |
+
π **Live Demo**: [https://huggingface.co/spaces/your-username/your-space-name](https://huggingface.co/spaces/your-username/your-space-name)
|