force controlnet scale to be considered float

This commit is contained in:
Maëlys Jusseaux
2024-07-25 21:44:25 +02:00
parent 3f1713e9f3
commit ebcfdbd5a1
+1 -1
View File
@@ -162,7 +162,7 @@ class ImageInference:
if controlnet_image:
args['image'] = controlnet_image
args['controlnet_conditioning_scale'] = controlnet_scale
args['controlnet_conditioning_scale'] = float(controlnet_scale)
images = pipeline(**args).images