philschmid HF staff commited on
Commit
70e8d2e
1 Parent(s): 3ca50ac

Update handler.py

Browse files
Files changed (1) hide show
  1. 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, inputs: str) -> List[Dict[str, Any]]:
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`):