takanezawa commited on
Commit
8b84237
·
1 Parent(s): 4af82f4

chore: Update handler.py to return sparse embeddings

Browse files
Files changed (1) hide show
  1. handler.py +3 -1
handler.py CHANGED
@@ -39,4 +39,6 @@ class EndpointHandler():
39
  # else:
40
  # prediction = self.pipeline(inputs)
41
  # postprocess the prediction
42
- return sparse_vectors
 
 
 
39
  # else:
40
  # prediction = self.pipeline(inputs)
41
  # postprocess the prediction
42
+ return {
43
+ "sparse_embeddings": "12345"
44
+ }