accessibilitychecker commited on
Commit
f622453
Β·
verified Β·
1 Parent(s): bbfde3f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -25
README.md CHANGED
@@ -1,25 +1,34 @@
1
- #this gets the repo
2
- git clone repo
3
-
4
- #this gets up to date code
5
- git pull
6
-
7
- #this creates a branch which you can work on
8
- git checkout -b "djo/your-branch-description"
9
-
10
- #this installs everything you need
11
- npm i
12
-
13
- #this gives you secrets
14
- get .env file from DJ or put secrets in manually into .env file which you create
15
-
16
- ##VERY IMPORTANT
17
- make sure you create a git ignore file (ask chatgpt if you have never done this before) which ignores your .env file
18
-
19
- #this runs the program
20
- node autotag-pdf.js
21
-
22
- #creates a branch with your changes
23
- git push
24
-
25
- #we can review pull requests as a team to identify if things are good for merge.
 
 
 
 
 
 
 
 
 
 
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.