Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

A Tool that allows for a random, fake person to come to life!

License

Notifications You must be signed in to change notification settings

Sharpz7-Archives/introducing

Repository files navigation

CircleCI

A Tool that allows for a random, fake person to come to life!


Currently Generates

  • Fake AI Face
  • Location
  • Job Title
  • Age based on Fake Face
  • Location Picture
  • Backstory

How it works

Uses gRPC-IO and Flask

Quickstart Guide

Enviroment

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

Backend

For all of these tasks, please clone the repository first

Flask

To run as a test server:

poetry install
poetry run flask run --host=0.0.0.0 -p 5000

To run as a production server:

poetry install
poetry run gunicorn --bind 0.0.0.0:5000 introducing.wsgi:app

gRPC

To run the grpc server:

poetry run python -m introducing.grpc_app

To run a client, please see the README's for each client:

Note that the clients expect the Docker gRPC Server to be running

Frontend

To run the frontend:

To get all the dependencies

npm install
yarn install

Then run

npm run start

Docker

This 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

Maintainers

About

A Tool that allows for a random, fake person to come to life!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published