From ed266a34dd407b9a7a2976900f69b035558e0b13 Mon Sep 17 00:00:00 2001 From: jcollopy-tulane Date: Tue, 30 Apr 2024 02:53:49 -0500 Subject: [PATCH] Trying Again --- nlp/app/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nlp/app/routes.py b/nlp/app/routes.py index dbe0d83..b3df4d7 100644 --- a/nlp/app/routes.py +++ b/nlp/app/routes.py @@ -39,7 +39,7 @@ def index(): proba = positive_proba else: prediction = "LOSS" - proba = 1 - positive_proba + proba = positive_proba elif model_choice == 'lr': @@ -55,7 +55,7 @@ def index(): proba = positive_proba else: prediction = "LOSS" - proba = 1 - positive_proba + proba = positive_proba elif model_choice == 'cnn':