Skip to content

Commit c7c2807

Browse files
committed
Fix init image in controlnet refonly
1 parent 71899d8 commit c7c2807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gimpopenvino/plugins/openvino_utils/tools/stable_diffusion_ov_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def handle_client_data(data, conn, engine, model_name, model_path, scheduler):
281281
output = engine(
282282
prompt=prompt,
283283
negative_prompt=negative_prompt,
284-
init_image=Image.open(init_image),
284+
image=Image.open(init_image),
285285
scheduler=scheduler,
286286
num_inference_steps=num_infer_steps,
287287
guidance_scale=guidance_scale,

0 commit comments

Comments
 (0)