Skip to content

Dockerized ASP.NET Core Razor app serving AI-generated images from an AI model hosted in a Flask/Python API. Visualize the interpolation between 2 generated emojis as they "morph" into eachother.

Notifications You must be signed in to change notification settings

PhiltasticGuy/expogan

Repository files navigation

Build & Run W/O Docker

Interface

example

Architecture

architecture

Dependencies without docker

  • pip3 install flask-session matplotlib sklearn numpy requests pandas scipy pickle5

Run

  • export FLASK_APP=main.py
  • flask run

Build & Run with Docker

Adminer Setup

Make sure that you have a .env file at the root of this repo.
This .env file must contains the following credentials :
POSTGRES_USER=shifumeister
POSTGRES_PASSWORD=adminer
DATABASE_URL=Host=expogan.data;Database=expogan;Username=shifumeister;Password=adminer

Docker setup

Run

  • cd in the root of this repo
  • sudo docker-compose build
  • sudo docker-compose up
  • Go to localhost:5000/ to have our test API app
  • Go to localhost:7000/ to have our web app

About

Dockerized ASP.NET Core Razor app serving AI-generated images from an AI model hosted in a Flask/Python API. Visualize the interpolation between 2 generated emojis as they "morph" into eachother.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published