animrods commited on
Commit
d860690
·
verified ·
1 Parent(s): 2634647

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -90,7 +90,8 @@ images = pipeline(
90
  ip_adapter_image=image.resize((224, 224)),
91
  num_inference_steps=25,
92
  generator=generator,
93
- height=1024, width=1024
 
94
  ).images
95
  images[0]
96
  ```
@@ -98,7 +99,7 @@ images[0]
98
  ## Use both image and textual prompt as inputs
99
  ```py
100
  textual_prompt = "Paris, high quality"
101
- pipeline.set_ip_adapter_scale(0.8)
102
  image = load_image("examples/example2.jpg")
103
  generator = torch.Generator(device="cpu").manual_seed(0)
104
  images = pipeline(
 
90
  ip_adapter_image=image.resize((224, 224)),
91
  num_inference_steps=25,
92
  generator=generator,
93
+ height=1024, width=1024,
94
+ guidance_scale=7
95
  ).images
96
  images[0]
97
  ```
 
99
  ## Use both image and textual prompt as inputs
100
  ```py
101
  textual_prompt = "Paris, high quality"
102
+ pipeline.set_ip_adapter_scale(0.7)
103
  image = load_image("examples/example2.jpg")
104
  generator = torch.Generator(device="cpu").manual_seed(0)
105
  images = pipeline(