patrickvonplaten pcuenq HF staff commited on
Commit
a5830b4
1 Parent(s): 9bd2b48

Update pipeline output (#5)

Browse files

- Update pipeline output (b98f201ac244617f0e4bf4cfe890dcfc12311787)


Co-authored-by: Pedro Cuenca <[email protected]>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -33,7 +33,7 @@ ldm = DiffusionPipeline.from_pretrained(model_id)
33
 
34
  # run pipeline in inference (sample random noise and denoise)
35
  prompt = "A painting of a squirrel eating a burger"
36
- images = ldm([prompt], num_inference_steps=50, eta=0.3, guidance_scale=6)["sample"]
37
 
38
  # save images
39
  for idx, image in enumerate(images):
 
33
 
34
  # run pipeline in inference (sample random noise and denoise)
35
  prompt = "A painting of a squirrel eating a burger"
36
+ images = ldm([prompt], num_inference_steps=50, eta=0.3, guidance_scale=6).images
37
 
38
  # save images
39
  for idx, image in enumerate(images):