Update handler.py
Browse files- 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)
|