Skip to content

Commit

Permalink
Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollopy-tulane committed Apr 29, 2024
1 parent bfd7964 commit 9547ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nlp/app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def index():
text = process_text(input_field)
text = bnb_vectorizer.transform([text])
pred_labels = bnb.predict(text)
probas = bnb.predict_proba(text)
probas = bnb.predict_proba(text)
pred = pred_labels[0]
proba = probas[0, pred]
elif model_choice == 'lr':
Expand Down

0 comments on commit 9547ca7

Please sign in to comment.