ashish-001 commited on
Commit
b7cb882
·
verified ·
1 Parent(s): dab0a62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,4 +27,4 @@ data = st.text_area("Enter or paste a review")
27
  if st.button('Predict'):
28
  prediction = classify_text(data)
29
  st.header(
30
- f"{prediction}")
 
27
  if st.button('Predict'):
28
  prediction = classify_text(data)
29
  st.header(
30
+ f"Negative Confidence: {prediction[0][0].item()}, Positive Confidence: {prediction[0][1].item()}")