|
|
--- |
|
|
title: FairHousing Classifier |
|
|
emoji: ๐ |
|
|
colorFrom: pink |
|
|
colorTo: pink |
|
|
sdk: gradio |
|
|
sdk_version: 5.42.0 |
|
|
app_file: app.py |
|
|
pinned: false |
|
|
--- |
|
|
|
|
|
# Fair Housing Text Checker |
|
|
|
|
|
Purpose |
|
|
- Help real estate professionals spot language that could imply a preference, limitation, or discrimination based on protected classes. |
|
|
- Provide neutral, inclusive alternatives. |
|
|
- Not legal advice. |
|
|
|
|
|
How it works |
|
|
- Rules-first engine using regex patterns from phrases.yaml |
|
|
- Optional tiny ML score if you plug in a small sequence classifier |
|
|
|
|
|
Run locally |
|
|
- pip install -r requirements.txt |
|
|
- python app.py |
|
|
|
|
|
On Spaces |
|
|
- Add the four files |
|
|
- Set Space SDK to Gradio |
|
|
- Deploy |
|
|
|