charleselena commited on
Commit
081955a
1 Parent(s): 0dda0de

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -122,7 +122,7 @@ class EndpointHandler():
122
  negative_prompt = data.pop("negative_prompt", None)
123
  height = data.pop("height", None)
124
  width = data.pop("width", None)
125
- controlnet_conditioning_scale = data.pop("controlnet_conditioning_scale", 0.8)
126
 
127
  # process image
128
  image = self.decode_base64_image(image)
 
122
  negative_prompt = data.pop("negative_prompt", None)
123
  height = data.pop("height", None)
124
  width = data.pop("width", None)
125
+ controlnet_conditioning_scale = data.pop("controlnet_conditioning_scale", 1.0)
126
 
127
  # process image
128
  image = self.decode_base64_image(image)