Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srilaasya/ally
AI-powered web app that makes use of a Large Language Model (LLM) to generate code to make websites more accessible to disabled individuals, helping to ensure compliance with ADA regulations.
https://github.com/srilaasya/ally
Last synced: 2 days ago
JSON representation
AI-powered web app that makes use of a Large Language Model (LLM) to generate code to make websites more accessible to disabled individuals, helping to ensure compliance with ADA regulations.
- Host: GitHub
- URL: https://github.com/srilaasya/ally
- Owner: srilaasya
- Created: 2023-05-08T23:58:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-09T02:00:10.000Z (over 1 year ago)
- Last Synced: 2024-04-18T06:40:48.359Z (9 months ago)
- Language: Jupyter Notebook
- Size: 360 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ally
AI-powered web app that makes use of a Large Language Model (LLM) to generate code to make websites more accessible to disabled individuals, helping to ensure compliance with ADA regulations.## Setup
1. Make a copy of the environment file and add your OPENAI API key to it as shown below.
```bash
$ cp .env-example .env
```Add your [API key](https://platform.openai.com/account/api-key) to the newly created `.env` file.
2. Setup a python virtual environment and install dependencies
```bash
$ python3 -m venv venv$ source venv/bin/activate
$ pip3 install -r requirements.txt
```3. Run the Flask App from the `app` folder
```bash
python3 app.py
```Navigate to [http://127.0.0.1:5000](http://127.0.0.1:5000). You should see the following website -
![Website](./form-input.png)
Input the following (well tested) URL in the form: [http://pnwx.com](http://pnwx.com).
We chose this website because it several disability issues (take a look)!![Input](./input-website.jpeg)
The app scrapes the webpage and passes the HTML to GPT4 for processing. You should see the following logs on your terminal -
![logs](./app-run.png)
Final result!
![result](./final-result.jpeg)