Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -51,7 +51,7 @@ class EndpointHandler():
|
|
| 51 |
self.diarization_pipeline = None
|
| 52 |
|
| 53 |
|
| 54 |
-
|
| 55 |
file = inputs.pop("inputs")
|
| 56 |
file = base64.b64decode(file)
|
| 57 |
parameters = inputs.pop("parameters", {})
|
|
|
|
| 51 |
self.diarization_pipeline = None
|
| 52 |
|
| 53 |
|
| 54 |
+
def __call__(self, inputs):
|
| 55 |
file = inputs.pop("inputs")
|
| 56 |
file = base64.b64decode(file)
|
| 57 |
parameters = inputs.pop("parameters", {})
|