Views
No views yet
| Object insertion | Object Removal | Shape-guided Object Insertion | Outpainting | |
|---|---|---|---|---|
| Original Image | ||||
| Output |
gradio_PowerPaint.py file and Online Demo have also been updated.gradio_PowerPaint.py file and Online Demo have also been updated as part of this release.1# Clone the Repository
2git clone https://github.com/zhuang2002/PowerPaint.git
3
4# Navigate to the Repository
5cd projects/powerpaint
6
7# Create Virtual Environment with Conda
8conda create --name PowerPaint python=3.9
9conda activate PowerPaint
10
11# Install Dependencies
12pip install -r requirements.txtpython gradio_PowerPaint_BrushNet.py1# Create Models Folder
2mkdir models
3
4# Set up Git LFS
5git lfs install
6
7# Clone PowerPaint Model
8git lfs clone https://huggingface.co/JunhaoZhuang/PowerPaint-v1/ ./models
9
10python gradio_PowerPaint.py@misc{zhuang2023task,
title={A Task is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpainting},
author={Junhao Zhuang and Yanhong Zeng and Wenran Liu and Chun Yuan and Kai Chen},
year={2023},
eprint={2312.03594},
archivePrefix={arXiv},
primaryClass={cs.CV}
}