sergeipetrov
commited on
Commit
•
c57eb63
1
Parent(s):
bfbe48c
Update handler.py
Browse files- handler.py +6 -5
handler.py
CHANGED
@@ -16,11 +16,12 @@ class EndpointHandler():
|
|
16 |
|
17 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
18 |
"""
|
19 |
-
|
20 |
-
inputs
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
24 |
"""
|
25 |
|
26 |
|
|
|
16 |
|
17 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
18 |
"""
|
19 |
+
data dict:
|
20 |
+
inputs: dict:
|
21 |
+
image: base64 encoded image,
|
22 |
+
prompt: str
|
23 |
+
returns:
|
24 |
+
base64 encoded image
|
25 |
"""
|
26 |
|
27 |
|