mskrt commited on
Commit
6878a77
verified
1 Parent(s): c7c6a9b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -25,9 +25,9 @@ from PIL import Image
25
  from diffusers import DiffusionPipeline
26
 
27
  pipeline = DiffusionPipeline.from_pretrained("superdiff/superdiff-sd-v1-4", custom_pipeline='pipeline', trust_remote_code=True)
28
- image = pipeline("a flamingo", "a candy cane", seed=1, num_inference_steps=1000, batch_size=1)
29
 
30
- image = Image.fromarray(image.cpu().numpy())
31
  image.save("superdiff_output.png")
32
  ```
33
 
 
25
  from diffusers import DiffusionPipeline
26
 
27
  pipeline = DiffusionPipeline.from_pretrained("superdiff/superdiff-sd-v1-4", custom_pipeline='pipeline', trust_remote_code=True)
28
+ output = pipeline("a flamingo", "a candy cane", seed=1, num_inference_steps=1000, batch_size=1)
29
 
30
+ image = Image.fromarray(output[0].cpu().numpy())
31
  image.save("superdiff_output.png")
32
  ```
33