scampion commited on
Commit
988762a
1 Parent(s): 2e88644

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -71,5 +71,6 @@ class EndpointHandler:
71
  return_tensors='pt')
72
  _, prediction = self.model(item["input_ids"], item["attention_mask"])
73
  prediction = prediction.cpu().detach().numpy()
 
74
  return prediction
75
 
 
71
  return_tensors='pt')
72
  _, prediction = self.model(item["input_ids"], item["attention_mask"])
73
  prediction = prediction.cpu().detach().numpy()
74
+ print(text, prediction)
75
  return prediction
76