OzzyGT HF Staff commited on
Commit
4b77b9e
·
verified ·
1 Parent(s): 7ba115e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -3
README.md CHANGED
@@ -39,7 +39,7 @@ pipe.load_components(
39
  )
40
  pipe.to("cuda")
41
 
42
- image = pipe(prompt="a photo of a red apple on a black background", output="images")[0]
43
  image.save("out.png")
44
  ```
45
 
@@ -56,8 +56,6 @@ result = pipe(
56
  prompt="a photo of a snowy mountain landscape at sunset, dramatic clouds",
57
  image=image,
58
  strength=0.6,
59
- height=1024,
60
- width=1024,
61
  output="images",
62
  )[0]
63
  result.save("img2img.png")
 
39
  )
40
  pipe.to("cuda")
41
 
42
+ image = pipe(prompt="a photo of a red apple on a black background", height=1024, width=1024, output="images")[0]
43
  image.save("out.png")
44
  ```
45
 
 
56
  prompt="a photo of a snowy mountain landscape at sunset, dramatic clouds",
57
  image=image,
58
  strength=0.6,
 
 
59
  output="images",
60
  )[0]
61
  result.save("img2img.png")