Skip to content
/ kime Public

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

kime/kime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 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 Quart.

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:

$ hypercorn -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

Contributors 2

  •  
  •