Update README.md
#13
by
decortech
- opened
README.md
CHANGED
|
@@ -60,7 +60,7 @@ def resize_for_condition_image(input_image: Image, resolution: int):
|
|
| 60 |
# play with guidance_scale, controlnet_conditioning_scale and strength to make a valid QR Code Image
|
| 61 |
|
| 62 |
# qr code image
|
| 63 |
-
source_image = load_image("https://
|
| 64 |
# initial image, anything
|
| 65 |
init_image = load_image("https://s3.amazonaws.com/moonup/production/uploads/noauth/KfMBABpOwIuNolv1pe3qX.jpeg")
|
| 66 |
condition_image = resize_for_condition_image(source_image, 768)
|
|
@@ -73,7 +73,7 @@ image = pipe(prompt="a bilboard in NYC with a qrcode",
|
|
| 73 |
width=768,
|
| 74 |
height=768,
|
| 75 |
guidance_scale=20,
|
| 76 |
-
controlnet_conditioning_scale=1.
|
| 77 |
generator=generator,
|
| 78 |
strength=0.9,
|
| 79 |
num_inference_steps=150,
|
|
|
|
| 60 |
# play with guidance_scale, controlnet_conditioning_scale and strength to make a valid QR Code Image
|
| 61 |
|
| 62 |
# qr code image
|
| 63 |
+
source_image = load_image("https://decorglobalinc-my.sharepoint.com/:i:/g/personal/michael_decorglobalinc_com1/EYg1VnXGPzlIgbX7vtbL9lMB1dijhQpwU1FGTUG4WhG54g?e=RPTBFr")
|
| 64 |
# initial image, anything
|
| 65 |
init_image = load_image("https://s3.amazonaws.com/moonup/production/uploads/noauth/KfMBABpOwIuNolv1pe3qX.jpeg")
|
| 66 |
condition_image = resize_for_condition_image(source_image, 768)
|
|
|
|
| 73 |
width=768,
|
| 74 |
height=768,
|
| 75 |
guidance_scale=20,
|
| 76 |
+
controlnet_conditioning_scale=1.3,
|
| 77 |
generator=generator,
|
| 78 |
strength=0.9,
|
| 79 |
num_inference_steps=150,
|