cathyi commited on
Commit
f69cb18
·
1 Parent(s): 39239f4

update handler

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -23,6 +23,6 @@ class EndpointHandler():
23
  A :obj:`list` | `dict`: will be serialized and returned
24
  """
25
 
26
- inputs = data.pop("inputs",data)
27
  prediction = self.pipeline(inputs, return_timestamps=False)
28
  return prediction
 
23
  A :obj:`list` | `dict`: will be serialized and returned
24
  """
25
 
26
+ inputs = data.pop("inputs", data)
27
  prediction = self.pipeline(inputs, return_timestamps=False)
28
  return prediction