philschmid commited on
Commit
286858d
·
1 Parent(s): 57252df

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -2
handler.py CHANGED
@@ -28,8 +28,7 @@ class EndpointHandler:
28
  def __call__(self, data):
29
  """
30
  data args:
31
- images (:obj:`PIL.Image`)
32
- candiates (:obj:`list`)
33
  Return:
34
  A :obj:`list`:. The list contains items that are dicts should be liked {"label": "XXX", "score": 0.82}
35
  """
 
28
  def __call__(self, data):
29
  """
30
  data args:
31
+ inputs (:obj:`PIL.Image`)
 
32
  Return:
33
  A :obj:`list`:. The list contains items that are dicts should be liked {"label": "XXX", "score": 0.82}
34
  """