Commit ·
2e8bef0
1
Parent(s): 74358f3
Update
Browse files- 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
|
| 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`)
|