sergeipetrov commited on
Commit
c57eb63
1 Parent(s): bfbe48c

Update handler.py

Browse files
Files changed (1) hide show
  1. 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
- data args:
20
- inputs (:obj:`string`)
21
- parameters (:obj:)
22
- Return:
23
- A :obj:`string`:. Base64 encoded image string
 
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