Skip to content

Commit

Permalink
Finishing Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollopy-tulane committed Apr 30, 2024
1 parent d75fc3a commit 4ebc668
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 @@ -88,7 +88,7 @@ def index():
proba = predicted_probability
else:
prediction = "LOSS"
proba = 1 - predicted_probability
proba = predicted_probability

return render_template('myform.html', title='', form=form,
prediction=prediction, confidence='%.2f' % (proba * 100))
Expand Down

0 comments on commit 4ebc668

Please sign in to comment.