Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
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
|
| 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.")
|