license: apache-2.0 | |
# FineFace: Towards Localized Fine-Grained Control for Facial Expression Generation | |
<div align="center"> | |
[**Paper (ArXiv)**](https://arxiv.org/abs/2407.20175) **|** [**Github**](https://github.com/tvaranka/fineface) | |
</div> | |
<div align="center"> | |
![results](./teaser.png) | |
</div> | |
```python | |
from fineface import FineFacePipeline | |
pipe = FineFacePipeline() | |
prompt = "a closeup of a boy in a park" | |
aus = {"AU1": 2.5, "AU6": 2.5, "AU12": 5} | |
image = pipe(prompt, aus).images[0] | |
``` |