update model card README.md
Browse files
README.md
CHANGED
@@ -22,18 +22,7 @@ on the `huggan/selfie2anime` dataset.
|
|
22 |
#### How to use
|
23 |
|
24 |
```python
|
25 |
-
|
26 |
-
|
27 |
-
model_id = "mrm8488/ddpm-ema-anime-256"
|
28 |
-
|
29 |
-
# load model and scheduler
|
30 |
-
pipeline = DDPMPipeline.from_pretrained(model_id)
|
31 |
-
|
32 |
-
# run pipeline in inference
|
33 |
-
image = pipeline()["sample"]
|
34 |
-
|
35 |
-
image[0].save("anime_face_256.png")
|
36 |
-
|
37 |
```
|
38 |
|
39 |
#### Limitations and bias
|
|
|
22 |
#### How to use
|
23 |
|
24 |
```python
|
25 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
```
|
27 |
|
28 |
#### Limitations and bias
|