KevSun commited on
Commit
ccff9ba
·
verified ·
1 Parent(s): b5fc24c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,6 +42,6 @@ if st.button("Predict"):
42
  # Display the predictions
43
  labels = ["cohesion", "syntax", "vocabulary", "phraseology", "grammar", "conventions"]
44
  for label, score in zip(labels, rounded_scores):
45
- st.write(f"{label}: {score:.1f}")
46
  else:
47
  st.write("Please enter some text to get scores.")
 
42
  # Display the predictions
43
  labels = ["cohesion", "syntax", "vocabulary", "phraseology", "grammar", "conventions"]
44
  for label, score in zip(labels, rounded_scores):
45
+ st.write(f"{label}: {score:}")
46
  else:
47
  st.write("Please enter some text to get scores.")