Model from: https://huggingface.co/JunhaoZhuang/PowerPaint-v1 | |
Based on `runwayml/stable-diffusion-inpainting`, the unet has been replaced with PowerPaint's unet, | |
and the token embedding (P_ctxt, P_shape, P_obj) newly added by PowerPaint has been integrated into the text_encoder. | |
Download python file at [here](https://huggingface.co/Sanster/PowerPaint-V1-stable-diffusion-inpainting/tree/main), then run: | |
```bash | |
python3 demo.py | |
``` |