force controlnet scale to be considered float
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user