Update app.py
Browse files
app.py
CHANGED
@@ -29,4 +29,4 @@ if st.button('Predict Truthfulness'):
|
|
29 |
with st.spinner('Processing...'):
|
30 |
veracity, confidence = print_result(user_input)
|
31 |
st.success(f"Truthfulness: {veracity}")
|
32 |
-
st.write(f"Confidence: The model is {confidence:.2f} sure about the result.")
|
|
|
29 |
with st.spinner('Processing...'):
|
30 |
veracity, confidence = print_result(user_input)
|
31 |
st.success(f"Truthfulness: {veracity}")
|
32 |
+
st.write(f"Confidence: The model is {(confidence*100):.2f}% sure about the result.")
|