TenzinGayche commited on
Commit
539dbc2
·
verified ·
1 Parent(s): 6617e81

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -266,5 +266,6 @@ class EndpointHandler():
266
  Return:
267
  A :obj:`list`:. The list contains the embeddings of the inference inputs
268
  """
 
269
  return align(data)
270
 
 
266
  Return:
267
  A :obj:`list`:. The list contains the embeddings of the inference inputs
268
  """
269
+ data = data.pop("inputs",data)
270
  return align(data)
271