charleselena
commited on
Commit
•
539b699
1
Parent(s):
359677f
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", 1.
|
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.2)
|
126 |
|
127 |
# process image
|
128 |
image = self.decode_base64_image(image)
|