mengting commited on
Commit
805a232
·
1 Parent(s): 07aedc7
Files changed (1) hide show
  1. README.md +30 -0
README.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MagicFace Model Card
2
+
3
+ <div align="center">
4
+
5
+ [**Paper**](https://arxiv.org/pdf/2501.02260) **|** [**Code**](https://github.com/weimengting/MagicFace)
6
+
7
+
8
+ </div>
9
+
10
+ ## Introduction
11
+ MagicFace is an efficient and effective facial expression editing model conditioned on facial action units (AU).
12
+ He provides a more flexible, user-friendly, and highly interpretable method for editing expressions.
13
+
14
+
15
+ <p align="center">
16
+ <img src="./assets/demo.jpg" />
17
+ </p>
18
+
19
+ ## Usage
20
+
21
+ You can directly download the model in this repository or download in python script:
22
+
23
+ ```python
24
+ # Download a specific file
25
+ from huggingface_hub import hf_hub_download
26
+ hf_hub_download(repo_id="mengtingwei/magicface", filename="weights/checkpoints", local_dir="./utils")
27
+ # Download all files
28
+ from huggingface_hub import snapshot_download
29
+ snapshot_download(repo_id="mengtingwei/magicface", local_dir="./")
30
+ ```