jpohhhh commited on
Commit
cf18795
·
1 Parent(s): ebfa09a

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -29,4 +29,4 @@ class EndpointHandler():
29
 
30
  # Perform pooling. In this case, max pooling.
31
  sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])
32
- return model_output.tolist()
 
29
 
30
  # Perform pooling. In this case, max pooling.
31
  sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])
32
+ return sentence_embeddings.tolist()