Skip to content

Morphogens/ProsePainter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.yml

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •