Mirza Učanbarlić commited on
Commit
f0884e6
·
1 Parent(s): dcdeaa3

update handler

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -22,7 +22,7 @@ class EndpointHandler():
22
  Return:
23
  A :obj:`list` | `dict`: will be serialized and returned
24
  """
25
- inputs = data.pop("input_image", data)
26
  prompt = data.pop("prompt", None)
27
 
28
  # run normal prediction
 
22
  Return:
23
  A :obj:`list` | `dict`: will be serialized and returned
24
  """
25
+ input_image= data.pop("input_image", data)
26
  prompt = data.pop("prompt", None)
27
 
28
  # run normal prediction