ogozcelik commited on
Commit
11fde4d
1 Parent(s): 18b91e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.")