Update README.md
Browse files
README.md
CHANGED
@@ -12,4 +12,13 @@ license: apache-2.0
|
|
12 |
<div align="center">
|
13 |
|
14 |
![results](./teaser.png)
|
15 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<div align="center">
|
13 |
|
14 |
![results](./teaser.png)
|
15 |
+
</div>
|
16 |
+
|
17 |
+
```python
|
18 |
+
from fineface import FineFacePipeline
|
19 |
+
|
20 |
+
pipe = FineFacePipeline()
|
21 |
+
prompt = "a closeup of a boy in a park"
|
22 |
+
aus = {"AU1": 2.5, "AU6": 2.5, "AU12": 5}
|
23 |
+
image = pipe(prompt, aus).images[0]
|
24 |
+
```
|