OriLib commited on
Commit
0bd9523
1 Parent(s): ecc44d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def generate_(prompt, negative_prompt, control_tensor, num_steps, controlnet_con
28
  gen_img = pipe(
29
  negative_prompt=negative_prompt,
30
  prompt=prompt,
31
- controlnet_conditioning_scale=controlnet_conditioning_scale,
32
  num_inference_steps=num_steps,
33
  image = control_tensor,
34
  generator=generator
 
28
  gen_img = pipe(
29
  negative_prompt=negative_prompt,
30
  prompt=prompt,
31
+ controlnet_conditioning_scale=float(controlnet_conditioning_scale),
32
  num_inference_steps=num_steps,
33
  image = control_tensor,
34
  generator=generator