Update README.md
Browse files
README.md
CHANGED
|
@@ -41,7 +41,7 @@ pipe = FluxControlNetPipeline.from_pretrained(
|
|
| 41 |
|
| 42 |
# Load a control image
|
| 43 |
control_image = load_image(
|
| 44 |
-
"https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Upscaler/resolve/main/examples/
|
| 45 |
)
|
| 46 |
|
| 47 |
w, h = control_image.size
|
|
@@ -51,7 +51,7 @@ w, h = control_image.size
|
|
| 51 |
control_image = control_image.resize((w * 4, h * 4))
|
| 52 |
|
| 53 |
image = pipe(
|
| 54 |
-
"",
|
| 55 |
control_image=control_image,
|
| 56 |
controlnet_conditioning_scale=0.6,
|
| 57 |
num_inference_steps=28,
|
|
|
|
| 41 |
|
| 42 |
# Load a control image
|
| 43 |
control_image = load_image(
|
| 44 |
+
"https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Upscaler/resolve/main/examples/input.jpg"
|
| 45 |
)
|
| 46 |
|
| 47 |
w, h = control_image.size
|
|
|
|
| 51 |
control_image = control_image.resize((w * 4, h * 4))
|
| 52 |
|
| 53 |
image = pipe(
|
| 54 |
+
prompt="",
|
| 55 |
control_image=control_image,
|
| 56 |
controlnet_conditioning_scale=0.6,
|
| 57 |
num_inference_steps=28,
|