- Fake AI Face
- Location
- Job Title
- Age based on Fake Face
- Location Picture
- Backstory
| Name | Description | Required |
|---|---|---|
| FLASK_APP | Should be set to introducing/app.py |
Y |
| FLASK_ENV | Should be set to development or production |
Y |
| TRUE_AGE | TRUE for real AI Detection, FALSE for not, see Here as there is a limit on usage) |
N |
| CLIENT_ID | The Client ID for EveryPixel | N |
| CLIENT_SECRET | The Client Secret for EveryPixel | N |
| DONT_DOWNLOAD_STUB | When set to TRUE, will not download service.proto |
N |
For all of these tasks, please clone the repository first
To run as a test server:
poetry install
poetry run flask run --host=0.0.0.0 -p 5000To run as a production server:
poetry install
poetry run gunicorn --bind 0.0.0.0:5000 introducing.wsgi:appTo run the grpc server:
poetry run python -m introducing.grpc_appTo run a client, please see the README's for each client:
Note that the clients expect the Docker gRPC Server to be running
To run the frontend:
To get all the dependencies
npm install
yarn installThen run
npm run startThis will run both the flask backend, the gRPC server and the react frontend.
NOTE: This needs Docker and Docker Compose to be installed!
To run in docker:
make docker_run

