snaramirez872 commited on
Commit
f8483c9
1 Parent(s): 1e156f0

final edit on app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -19,4 +19,5 @@ user_input = str(st.text_input("Enter some words", "pasghetti"))
19
  if user_input:
20
  predicts = result(user_input)[0]
21
  st.markdown("## Probabilities")
22
- st.write(f"Predicted: { predicts['label'] } & Score: { predicts['score']}")
 
 
19
  if user_input:
20
  predicts = result(user_input)[0]
21
  st.markdown("## Probabilities")
22
+ st.write(f"Predicted: { predicts['label'] }")
23
+ st.write(f"Score: { round(predicts['score'] * 100, 1)}%")