Instructions to use mengtingwei/magicface with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mengtingwei/magicface with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mengtingwei/magicface", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Add pipeline tag, library name, link to paper and github
Browse filesThis PR ensures the model can be found at https://huggingface.co/models?pipeline_tag=image-to-image and that a "how to use" button appears.
It also links to the relevant paper and Github repositories.
README.md
CHANGED
|
@@ -1,11 +1,14 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
| 4 |
# MagicFace Model Card
|
| 5 |
|
| 6 |
<div align="center">
|
| 7 |
|
| 8 |
-
[**Paper**](https://
|
| 9 |
|
| 10 |
|
| 11 |
</div>
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
pipeline_tag: image-to-image
|
| 4 |
+
library_name: diffusers
|
| 5 |
---
|
| 6 |
+
|
| 7 |
# MagicFace Model Card
|
| 8 |
|
| 9 |
<div align="center">
|
| 10 |
|
| 11 |
+
[**Paper**](https://huggingface.co/papers/2501.02260) **|** [**Code**](https://github.com/weimengting/MagicFace)
|
| 12 |
|
| 13 |
|
| 14 |
</div>
|