Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,6 @@ if st.button("Predict"):
|
|
30 |
prediction = predict_with_loaded_model([user_input])[0]
|
31 |
st.write(f"Text: {prediction['text']}")
|
32 |
st.write(f"Prediction: {prediction['label']}")
|
33 |
-
st.write(f"Confidence: {prediction['confidence']}")
|
34 |
else:
|
35 |
st.write("Please enter a sentence to predict.")
|
|
|
30 |
prediction = predict_with_loaded_model([user_input])[0]
|
31 |
st.write(f"Text: {prediction['text']}")
|
32 |
st.write(f"Prediction: {prediction['label']}")
|
33 |
+
# st.write(f"Confidence: {prediction['confidence']}")
|
34 |
else:
|
35 |
st.write("Please enter a sentence to predict.")
|