Commit
·
70e8d2e
1
Parent(s):
3ca50ac
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -10,7 +10,7 @@ class EndpointHandler():
|
|
10 |
):
|
11 |
self.tagger = SequenceTagger.load(os.path.join(path,"pytorch_model.bin"))
|
12 |
|
13 |
-
def __call__(self,
|
14 |
"""
|
15 |
Args:
|
16 |
inputs (:obj:`str`):
|
|
|
10 |
):
|
11 |
self.tagger = SequenceTagger.load(os.path.join(path,"pytorch_model.bin"))
|
12 |
|
13 |
+
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
14 |
"""
|
15 |
Args:
|
16 |
inputs (:obj:`str`):
|