IDKiro commited on
Commit
efdf2e9
1 Parent(s): 0f47633

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def run(
118
  num_inference_steps=1,
119
  num_images_per_prompt=1,
120
  output_type="pil",
121
- controlnet_conditioning_scale=controlnet_conditioning_scale,
122
  ).images[0]
123
 
124
  input_sketch_url = pil_image_to_data_url(control_image)
 
118
  num_inference_steps=1,
119
  num_images_per_prompt=1,
120
  output_type="pil",
121
+ controlnet_conditioning_scale=float(controlnet_conditioning_scale),
122
  ).images[0]
123
 
124
  input_sketch_url = pil_image_to_data_url(control_image)