zeroshot commited on
Commit
eaa4743
·
1 Parent(s): 8acb309

edit handler

Browse files
Files changed (1) hide show
  1. handler.py +1 -2
handler.py CHANGED
@@ -11,8 +11,7 @@ class EndpointHandler:
11
  def __call__(self, data: Dict[str, Any]) -> Dict[str, str]:
12
  """
13
  Args:
14
- data (:obj:):
15
- includes the deserialized image file as PIL.Image
16
  """
17
  inputs = data.pop("inputs", data)
18
 
 
11
  def __call__(self, data: Dict[str, Any]) -> Dict[str, str]:
12
  """
13
  Args:
14
+ data (:obj:): prediction input text
 
15
  """
16
  inputs = data.pop("inputs", data)
17