sarang-shrivastava commited on
Commit
2e8bef0
·
1 Parent(s): 74358f3
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -35,7 +35,7 @@ class EndpointHandler():
35
  # "repetition_penalty": 1.1
36
  # }
37
 
38
- def __call__(self, data=None: Dict[str, Any]) -> List[Dict[str, Any]]:
39
  """
40
  data args:
41
  inputs (:obj: `str` | `PIL.Image` | `np.array`)
 
35
  # "repetition_penalty": 1.1
36
  # }
37
 
38
+ def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
39
  """
40
  data args:
41
  inputs (:obj: `str` | `PIL.Image` | `np.array`)