Commit
·
8b84237
1
Parent(s):
4af82f4
chore: Update handler.py to return sparse embeddings
Browse files- 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
|
|
|
|
|
|
39 |
# else:
|
40 |
# prediction = self.pipeline(inputs)
|
41 |
# postprocess the prediction
|
42 |
+
return {
|
43 |
+
"sparse_embeddings": "12345"
|
44 |
+
}
|