Skip to content
🌍 Open source database to generate text embeddings
HTML CSS Python JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
embeddings
men-women
static
templates
.gitignore
README.md
gender backup.py
gender.py
kmeans.py
model.pkl
requirements.txt
server.py
server.pyc

README.md

This is an example Flask application to highlight gender biases in a text.

Requisites

Install PIP requirements with pip install -r requirements.txt.

Remember to insert a .txt or .bin embedding file in gender.py, you can create one here: https://github.com/sinanatra/create-text-embedding

or fetch it from here: https://nlp.stanford.edu/projects/glove/

And to download spacy modules from here: https://spacy.io/usage/models

Start

Run FLASK_APP=server.py flask run to start.

Run FLASK_APP=server.py FLASK_DEBUG=1 flask run to start in debugging mode.

You can’t perform that action at this time.