Skip to content

Commit

Permalink
.lower() (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all authored Nov 14, 2023
1 parent 12a856d commit e8775d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/views/response/prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def from_data(self, data: dict, breakdown: bool):
player_data = {
"player_id": data.pop("id"),
"player_name": data.pop("name"),
"prediction_label": data.pop("prediction"),
"prediction_label": data.pop("prediction").lower(),
"prediction_confidence": data.pop("predicted_confidence") / 100.0,
"created": data.pop("created"),
"predictions_breakdown": {
Expand Down

0 comments on commit e8775d5

Please sign in to comment.