Instructions to use FoivosPar/Arc2Face with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FoivosPar/Arc2Face with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FoivosPar/Arc2Face", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update model card: Add Expression Adapter paper, pipeline tag, and diffusers usage
Verified signatureThis PR significantly enhances the model card for Arc2Face by incorporating crucial information from its recent extension and improving usability: - **Metadata Enhancement**: Adds the `pipeline_tag: image-to-image` to improve discoverability on the Hugging Face Hub, making the model findable under this common category. - **Paper Link Update**: Adds a direct link to the Hugging Face paper page for "ID-Consistent, Precise Expression Generation with Blendshape-Guided Diffusion" in the top navigation, alongside the original Arc2Face paper. - **Introduction to Extension**: Integrates a brief introduction to the Expression Adapter's capabilities and its visual teaser from the GitHub README, highlighting the model's advanced features. - **Detailed Diffusers Usage**: Adds a comprehensive sample usage section with a Python code snippet demonstrating how to load and run the Arc2Face model with the `diffusers` library. This is directly sourced from the GitHub repository's `Usage` section…1f837be -
Upload Reference Adapter
Verified signature57932b1 -
Upload Expression Adapter
Verified signature9a58e99
-
Update README.md
Verified signature524e3eb
-
Update README.md
Verified signature8e46862
-
Update README.md
Verified signaturedfdcf42 -
Update README.md
Verified signature712635e -
update assets
Verified signature4201089
-
Upload controlnet
Verified signatureda2f1e9
-
Update README.md
Verified signature909a834
-
Update Model Card
Verified signatureddbe1fd
-
Update Model Card
Verified signature51595e6
-
Update Model Card
Verified signaturec654f89
-
Update Model Card
Verified signature4ca917a -
Upload model
Verified signature87fdaa2 -
Update Model Card
Verified signaturee6e61ad -
Update Model Card
Verified signatureda637cb -
Upload model
Verified signature2239a6f -
Upload model
Verified signaturea3bf960 -
Update Model Card
Verified signature83b09ef -
initial commit
Verified signature5dbce35