souzatya commited on
Commit
7711bcd
·
verified ·
1 Parent(s): a30ecaf

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -44,4 +44,4 @@ class EndpointHandler():
44
  logits = self.model(**inputs)
45
  prediction = logits[0].item()
46
  prediction = math.trunc(prediction * 100) / 100
47
- return prediction
 
44
  logits = self.model(**inputs)
45
  prediction = logits[0].item()
46
  prediction = math.trunc(prediction * 100) / 100
47
+ return str(prediction)