File size: 893 Bytes
49bc1be
 
 
805a232
 
 
 
 
 
 
 
 
 
 
3f47b54
805a232
 
 
 
 
 
 
 
 
 
 
 
 
c3e8252
805a232
 
 
49bc1be
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
license: apache-2.0
---
# MagicFace Model Card

<div align="center">

[**Paper**](https://arxiv.org/pdf/2501.02260) **|** [**Code**](https://github.com/weimengting/MagicFace) 


</div>

## Introduction
MagicFace is an efficient and effective facial expression editing model conditioned on facial action units (AU).
It provides a more flexible, user-friendly, and highly interpretable method for editing expressions.


<p align="center">
  <img src="./assets/demo.jpg" />
</p>

## Usage

You can directly download the model in this repository or download in python script:

```python
# Download a specific file
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="mengtingwei/magicface", filename="79999_iter.pth", local_dir="./utils")
# Download all files 
from huggingface_hub import snapshot_download
snapshot_download(repo_id="mengtingwei/magicface", local_dir="./")
```