YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

Model from: https://huggingface.co/JunhaoZhuang/PowerPaint_v2

Tokens (P_ctxt, P_shape, P_obj) added by PowerPaint has been integrated into the text_encoder and tokenizer.

Unlike PowerPaint_v1, PowerPaint_v2 uses a method similar to BrushNet, so it can be applied to any sd1.5 type basic model.

Clone demo code and models:

git lfs install
git clone https://huggingface.co/Sanster/PowerPaint_v2

Run main.py:

python3 main.py runwayml/stable-diffusion-v1-5

The demo code will generate following results:

Original Image Mask
original_image mask_image

Object Removal Task

object-removal

Shape Guided Task

shape-guided

Context aware Task

context-aware

Inpaint Task

inpaint

Outpaint Task

outpaint

Downloads last month
0
Inference API
Unable to determine this model’s pipeline type. Check the docs .