Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|