yaya36095 commited on
Commit
26b92af
·
verified ·
1 Parent(s): 8ea56b1

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -67,3 +67,4 @@ class EndpointHandler:
67
  probs = torch.nn.functional.softmax(logits.squeeze(0), dim=0)
68
 
69
  return {self.labels[i]: float(probs[i]) for i in range(len(self.labels))}
 
 
67
  probs = torch.nn.functional.softmax(logits.squeeze(0), dim=0)
68
 
69
  return {self.labels[i]: float(probs[i]) for i in range(len(self.labels))}
70
+ fix: correct handler indentation