TalHach61 commited on
Commit
2cf3ed3
·
verified ·
1 Parent(s): 12b69e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -166,11 +166,11 @@ def infer(cond_in, image_in, prompt, inference_steps, guidance_scale, control_mo
166
 
167
  image = pipe(
168
  prompt,
169
- control_image=[control_image],
170
- control_mode=[control_mode_num],
171
  width=width,
172
  height=height,
173
- controlnet_conditioning_scale=[control_strength],
174
  num_inference_steps=inference_steps,
175
  guidance_scale=guidance_scale,
176
  generator=torch.manual_seed(seed),
 
166
 
167
  image = pipe(
168
  prompt,
169
+ control_image=control_image,
170
+ control_mode=control_mode_num,
171
  width=width,
172
  height=height,
173
+ controlnet_conditioning_scale=control_strength,
174
  num_inference_steps=inference_steps,
175
  guidance_scale=guidance_scale,
176
  generator=torch.manual_seed(seed),