Update handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
@@ -81,8 +81,8 @@ class EndpointHandler():
|
|
81 |
# get inputs
|
82 |
inputs = data.pop("inputs", "")
|
83 |
encoded_image = data.pop("image", None)
|
84 |
-
|
85 |
-
|
86 |
|
87 |
|
88 |
# Decode image and convert to black and white sketch
|
|
|
81 |
# get inputs
|
82 |
inputs = data.pop("inputs", "")
|
83 |
encoded_image = data.pop("image", None)
|
84 |
+
adapter_conditioning_scale = data.pop("adapter_conditioning_scale", 1.0)
|
85 |
+
adapter_conditioning_factor = data.pop("adapter_conditioning_factor", 1.0)
|
86 |
|
87 |
|
88 |
# Decode image and convert to black and white sketch
|