mskrt commited on
Commit
40cdef8
verified
1 Parent(s): 1ff6205

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
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
  ```