Skip to content

Commit

Permalink
Trying Again
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollopy-tulane committed Apr 30, 2024
1 parent 802410c commit ed266a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nlp/app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def index():
proba = positive_proba
else:
prediction = "LOSS"
proba = 1 - positive_proba
proba = positive_proba


elif model_choice == 'lr':
Expand All @@ -55,7 +55,7 @@ def index():
proba = positive_proba
else:
prediction = "LOSS"
proba = 1 - positive_proba
proba = positive_proba

elif model_choice == 'cnn':

Expand Down

0 comments on commit ed266a3

Please sign in to comment.