pwaldron commited on
Commit
30e8f60
1 Parent(s): 8e173ea

Update handler.py

Browse files
Files changed (1) hide show
  1. 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
- float adapter_conditioning_scale = data.pop("adapter_conditioning_scale", 1.0)
85
- float adapter_conditioning_factor = data.pop("adapter_conditioning_factor", 1.0)
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