multimodalart HF staff eliotandres commited on
Commit
ea33f71
1 Parent(s): 9866e42

Add negative_prompt to pipeline call in Readme (was missing) (#9)

Browse files

- Add negative_prompt to pipeline call in Readme (was missing) (dc45c50e5e4c4d311c3805d0723e1014d40220c0)


Co-authored-by: Eliot Andres <[email protected]>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -74,7 +74,7 @@ image = np.concatenate([image, image, image], axis=2)
74
  image = Image.fromarray(image)
75
 
76
  images = pipe(
77
- prompt, image=image, controlnet_conditioning_scale=controlnet_conditioning_scale,
78
  ).images
79
 
80
  images[0].save(f"hug_lab.png")
 
74
  image = Image.fromarray(image)
75
 
76
  images = pipe(
77
+ prompt, negative_prompt=negative_prompt, image=image, controlnet_conditioning_scale=controlnet_conditioning_scale,
78
  ).images
79
 
80
  images[0].save(f"hug_lab.png")