charleselena
commited on
Commit
•
081955a
1
Parent(s):
0dda0de
Update handler.py
Browse files- 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
|
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)
|