Update handler.py
Browse files- 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(
|
43 |
else:
|
44 |
-
outputs = self.pipeline(
|
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
|