All Projects → Morphogens → ProsePainter

Morphogens / ProsePainter

Licence: GPL-3.0 License
No description, website, or topics provided.

Programming Languages

python
139335 projects - #7 most used programming language
Svelte
593 projects
typescript
32286 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].