Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,9 @@ This pipeline shows how to superimpose different text prompts from [Stable Diffu
|
|
25 |
from PIL import Image
|
26 |
from diffusers import DiffusionPipeline
|
27 |
|
|
|
28 |
image = pipeline("a flamingo", "a candy cane", seed=1, num_inference_steps=1000, batch_size=1)
|
|
|
29 |
image = Image.fromarray(image.cpu().numpy())
|
30 |
image.save("superdiff_output.png")
|
31 |
```
|
|
|
25 |
from PIL import Image
|
26 |
from diffusers import DiffusionPipeline
|
27 |
|
28 |
+
pipeline = DiffusionPipeline.from_pretrained("superdiff/pipeline", custom_pipeline='pipeline', trust_remote_code=True, force_download=True)
|
29 |
image = pipeline("a flamingo", "a candy cane", seed=1, num_inference_steps=1000, batch_size=1)
|
30 |
+
|
31 |
image = Image.fromarray(image.cpu().numpy())
|
32 |
image.save("superdiff_output.png")
|
33 |
```
|