patrickvonplaten
commited on
Merge branch 'main' of https://huggingface.co/ControlNet-1-1-preview/control_v11p_sd15_lineart
Browse files
README.md
CHANGED
@@ -116,7 +116,7 @@ pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
|
|
116 |
pipe.enable_model_cpu_offload()
|
117 |
|
118 |
generator = torch.manual_seed(0)
|
119 |
-
image = pipe(prompt, num_inference_steps=30, generator=generator, image=
|
120 |
|
121 |
image.save('images/image_out.png')
|
122 |
|
|
|
116 |
pipe.enable_model_cpu_offload()
|
117 |
|
118 |
generator = torch.manual_seed(0)
|
119 |
+
image = pipe(prompt, num_inference_steps=30, generator=generator, image=control_image).images[0]
|
120 |
|
121 |
image.save('images/image_out.png')
|
122 |
|