diff --git a/nlp/app/routes.py b/nlp/app/routes.py index c918a12..6dc96b2 100644 --- a/nlp/app/routes.py +++ b/nlp/app/routes.py @@ -39,7 +39,7 @@ def index(): proba = positive_proba else: prediction = "LOSS" - proba = positive_proba + proba = 1 - positive_proba elif model_choice == 'lr':