Skip to content
/ kime Public
forked from kime/kime

A web app for upscaling and enhancing images using generative adversarial networks written in Python using Quart

License

Notifications You must be signed in to change notification settings

achyudh/kime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kime

License: GPL v3

Kime is a web app for upscaling and enhancing images using generative adversarial networks. This repository contains the backend service written in Python using Flask.

Getting Started

Step 1: Create a virtual environment and install dependencies.

Create a new Virtual Environment for the project and activate it. If you don't have the virtualenv command yet, you can find installation instructions here.

$ virtualenv venv
$ source venv/bin/activate

Next, install the project dependencies, which are listed in requirements.txt.

$ pip install -r requirements.txt

Step 2: Update environment variables and start the server.

Create a new file named config.json and update the new file with your Azure credentials. It should look similar to this:

{
  "storage": {
    "azure": {
      "account_name": "...",
      "access_key": "..."
    }
  },

  "db": {
    "azure": {
      "access_uri":"..."
    }
  },

  "engine": {
    "url": "http://0.0.0.0:3785/enhance",
    "username": "...",
    "secret": "..."
  }
}

Now you are ready to start the backend service:

$ gunicorn -w 4 -b 127.0.0.1:3780 app.__main__:app

About

A web app for upscaling and enhancing images using generative adversarial networks written in Python using Quart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Shell 0.4%