Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -99,7 +99,7 @@ class EndpointHandler():
|
|
99 |
negative_prompt = data.pop("negative_prompt", None)
|
100 |
height = data.pop("height", None)
|
101 |
width = data.pop("width", None)
|
102 |
-
controlnet_conditioning_scale = data.pop("controlnet_conditioning_scale", 0.
|
103 |
|
104 |
# process image
|
105 |
image = self.decode_base64_image(image)
|
|
|
99 |
negative_prompt = data.pop("negative_prompt", None)
|
100 |
height = data.pop("height", None)
|
101 |
width = data.pop("width", None)
|
102 |
+
controlnet_conditioning_scale = data.pop("controlnet_conditioning_scale", 0.8)
|
103 |
|
104 |
# process image
|
105 |
image = self.decode_base64_image(image)
|