"cuda/git@developer.sourcefind.cn:OpenDAS/fastmoe.git" did not exist on "b5b72d415ded0e1dc51ffd4a6531270cfba38e93"
Unverified Commit acd87ae0 authored by Suraj Patil's avatar Suraj Patil Committed by GitHub
Browse files

update pipeline example

parent 28ba0ffa
......@@ -84,12 +84,12 @@ image_pil.save("test.png")
Example:
```python
from modeling_ddpm import DDPM
from diffusers import DiffusionPipeline
import PIL.Image
import numpy as np
# load model and scheduler
ddpm = DDPM.from_pretrained("fusing/ddpm-lsun-bedroom-pipe")
ddpm = DiffusionPipeline.from_pretrained("fusing/ddpm-lsun-bedroom")
# run pipeline in inference (sample random noise and denoise)
image = ddpm()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment