yaya36095 commited on
Commit
b10f28b
·
verified ·
1 Parent(s): dd32056

Update handler.py

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