Spaces:
Running
on
Zero
Running
on
Zero
Update README.md
Browse files
README.md
CHANGED
@@ -1,56 +1,13 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
Images generated with our PuLID
|
15 |
-
![examples](https://github.com/ToTheBeginning/PuLID/assets/11482921/65610b0d-ba4f-4dc3-a74d-bd60f8f5ce37)
|
16 |
-
Applications
|
17 |
-
|
18 |
-
https://github.com/ToTheBeginning/PuLID/assets/11482921/9bdd0c8a-99e8-4eab-ab9e-39bf796cc6b8
|
19 |
-
|
20 |
-
## :wrench: Dependencies and Installation
|
21 |
-
- Python >= 3.7 (Recommend to use [Anaconda](https://www.anaconda.com/download/#linux) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html))
|
22 |
-
- [PyTorch >= 2.0](https://pytorch.org/)
|
23 |
-
```bash
|
24 |
-
# clone PuLID repo
|
25 |
-
git clone https://github.com/ToTheBeginning/PuLID.git
|
26 |
-
cd PuLID
|
27 |
-
# create conda env
|
28 |
-
conda create --name pulid python=3.10
|
29 |
-
# activate env
|
30 |
-
conda activate pulid
|
31 |
-
# Install dependent packages
|
32 |
-
pip install -r requirements.txt
|
33 |
-
```
|
34 |
-
|
35 |
-
## :zap: Quick Inference
|
36 |
-
### Gradio Demo
|
37 |
-
```bash
|
38 |
-
python app.py
|
39 |
-
```
|
40 |
-
|
41 |
-
|
42 |
-
## Citation
|
43 |
-
If PuLID is helpful, please help to ⭐ the repo.
|
44 |
-
|
45 |
-
If you find this project useful for your research, please consider citing our paper:
|
46 |
-
```bibtex
|
47 |
-
@article{guo2024pulid,
|
48 |
-
title={PuLID: Pure and Lightning ID Customization via Contrastive Alignment},
|
49 |
-
author={Guo, Zinan and Wu, Yanze and Chen, Zhuowei and Chen, Lang and He, Qian},
|
50 |
-
journal={arXiv preprint arXiv:2404.16022},
|
51 |
-
year={2024}
|
52 |
-
}
|
53 |
-
```
|
54 |
-
|
55 |
-
## :e-mail: Contact
|
56 |
-
If you have any comments or questions, please [open a new issue](https://github.com/ToTheBeginning/PuLID/issues/new/choose) or feel free to contact [Yanze Wu](https://tothebeginning.github.io/) and [Zinan Guo](mailto:[email protected]).
|
|
|
1 |
+
---
|
2 |
+
title: PuLID
|
3 |
+
emoji: ⚡
|
4 |
+
colorFrom: pink
|
5 |
+
colorTo: blue
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 4.14.0
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
license: apache-2.0
|
11 |
+
---
|
12 |
+
|
13 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|