patrickvonplaten commited on
Commit
2760533
1 Parent(s): 98254b9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -28,12 +28,12 @@ See the following code:
28
 
29
  ```python
30
  # !pip install diffusers
31
- from diffusers import ScoreSdeVePipeline
32
 
33
  model_id = "google/ncsnpp-ffhq-1024"
34
 
35
  # load model and scheduler
36
- sde_ve = ScoreSdeVePipeline.from_pretrained(model_id)
37
 
38
  # run pipeline in inference (sample random noise and denoise)
39
  image = sde_ve()["sample"]
 
28
 
29
  ```python
30
  # !pip install diffusers
31
+ from diffusers import DiffusionPipeline
32
 
33
  model_id = "google/ncsnpp-ffhq-1024"
34
 
35
  # load model and scheduler
36
+ sde_ve = DiffusionPipeline.from_pretrained(model_id)
37
 
38
  # run pipeline in inference (sample random noise and denoise)
39
  image = sde_ve()["sample"]