sharmer156 / ProsePainter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProsePainter

Create images by painting with words.

ProsePainter combines direct digital painting with real-time guided machine-learning based image optimization. Simply state what you want and draw the region where you want it. Tux, the Linux mascot

SETUP

The app consists of a python server which does the computations and a web based interface using a nodejs server.

Install Python Server:

Due to the use of CLIP, it is recommended to use python3.7 and torch 1.7.1+cu110 (available here).

With the following command you can set up a conda environment named prosepaint where all the dependencies will be installed.

conda env create -f server/env-server.yaml

Run Python Server:

The following command will launch the uvicorn server.

export PYTHONPATH=.; python server/server_deploy.py

Install NodeJS Server:

cd client
npm install

Run NodeJS Server:

cd client
npm run dev

Open http://localhost:8003/ in your web browser.

About

License:GNU General Public License v3.0


Languages

Language:Python 56.9%Language:Svelte 29.5%Language:TypeScript 11.5%Language:JavaScript 1.6%Language:HTML 0.5%