smangrul commited on
Commit
125bab8
1 Parent(s): 2ae58f2

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -39,8 +39,8 @@ class EndpointHandler:
39
 
40
  # pass inputs with all kwargs in data
41
  if parameters is not None:
42
- outputs = self.pipeline(**inputs, **parameters)
43
  else:
44
- outputs = self.pipeline(**inputs)
45
 
46
  return outputs
 
39
 
40
  # pass inputs with all kwargs in data
41
  if parameters is not None:
42
+ outputs = self.pipeline(inputs, **parameters)
43
  else:
44
+ outputs = self.pipeline(inputs)
45
 
46
  return outputs