Skip to content

Commit ec2852f

Browse files
Merge pull request #10 from dlsaavedra/patch-2
Update PredictionController.py
2 parents d114a85 + 3bdb45b commit ec2852f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/http/controllers/api/PredictionController.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def post(self):
137137
item["objects"].append(
138138
{
139139
"class": labels_3[boxes.label],
140-
"score": boxes.classes[0],
140+
"score": str(boxes.classes[0]),
141141
"label": "Panel Disconnect",
142142
"xmax": boxes.xmax,
143143
"xmin": boxes.xmin,

0 commit comments

Comments
 (0)