Create README.md
Browse files
README.md
CHANGED
|
@@ -1,25 +1,34 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
#
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: PowerPoint Accessibility Analyzer
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Accessibility PowerPoint Analyzer (Backend)
|
| 11 |
+
|
| 12 |
+
This is the backend for the Accessibility PowerPoint Analyzer, built with FastAPI. It processes `.pptx` files to identify and remediate accessibility issues, including generating AI alt-text for images using local vision models.
|
| 13 |
+
|
| 14 |
+
## π Features
|
| 15 |
+
- **FastAPI Backend:** Handles file uploads and processing asynchronously.
|
| 16 |
+
- **Local AI Vision:** Uses BLIP/GIT models via `transformers` to generate alt-text for free.
|
| 17 |
+
- **CORS Enabled:** Configured to communicate with the Vercel frontend.
|
| 18 |
+
- **Automatic Remediation:** Fixes color contrast and missing titles.
|
| 19 |
+
|
| 20 |
+
## π Tech Stack
|
| 21 |
+
- **Language:** Python 3.10+
|
| 22 |
+
- **Framework:** FastAPI
|
| 23 |
+
- **Libraries:** `python-pptx`, `torch`, `transformers`, `lxml`
|
| 24 |
+
- **Deployment:** Docker on Hugging Face Spaces
|
| 25 |
+
|
| 26 |
+
## π How to use
|
| 27 |
+
The frontend (deployed on Vercel) sends requests to this Space's endpoint.
|
| 28 |
+
|
| 29 |
+
For local testing:
|
| 30 |
+
1. Install dependencies: `pip install -r requirements.txt`
|
| 31 |
+
2. Run the server: `python app.py`
|
| 32 |
+
|
| 33 |
+
## π License
|
| 34 |
+
This project was developed as part of a technical coursework/senior project focused on accessibility tools.
|