File size: 1,244 Bytes
f622453
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
29
30
31
32
33
34
---
title: PowerPoint Accessibility Analyzer
emoji: πŸš€
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
---

# Accessibility PowerPoint Analyzer (Backend)

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.

## 🌟 Features
- **FastAPI Backend:** Handles file uploads and processing asynchronously.
- **Local AI Vision:** Uses BLIP/GIT models via `transformers` to generate alt-text for free.
- **CORS Enabled:** Configured to communicate with the Vercel frontend.
- **Automatic Remediation:** Fixes color contrast and missing titles.

## πŸ›  Tech Stack
- **Language:** Python 3.10+
- **Framework:** FastAPI
- **Libraries:** `python-pptx`, `torch`, `transformers`, `lxml`
- **Deployment:** Docker on Hugging Face Spaces

## πŸš€ How to use
The frontend (deployed on Vercel) sends requests to this Space's endpoint. 

For local testing:
1. Install dependencies: `pip install -r requirements.txt`
2. Run the server: `python app.py`

## πŸ“„ License
This project was developed as part of a technical coursework/senior project focused on accessibility tools.