uumlaut commited on
Commit
c06acdf
1 Parent(s): 3c5fb72

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -22,7 +22,13 @@ on the `imagefolder` dataset.
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
 
22
  #### How to use
23
 
24
  ```python
25
+ from diffusers import DDPMPipeline
26
+
27
+ model_id = "uumlaut/ddpm-vangogh-128"
28
+
29
+ ddpm = DDPMPipeline.from_pretrained(model_id) # you can replace DDPMPipeline with DDIMPipeline or PNDMPipeline for faster inference
30
+
31
+ image = ddpm().images[0]
32
  ```
33
 
34
  #### Limitations and bias