https://github.com/philtasticguy/expogan
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.
https://github.com/philtasticguy/expogan
aspnetcore csharp docker dotnet flask mvc python
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/philtasticguy/expogan
- Owner: PhiltasticGuy
- Created: 2022-06-29T12:43:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-23T13:29:05.000Z (about 2 years ago)
- Last Synced: 2024-12-16T01:43:21.338Z (6 months ago)
- Topics: aspnetcore, csharp, docker, dotnet, flask, mvc, python
- Language: C#
- Homepage:
- Size: 1.56 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build & Run W/O Docker
## Interface

## 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
* [Install docker](https://docs.docker.com/get-docker/)
* [Install docker compose](https://docs.docker.com/compose/install/)## 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