Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ if st.button("Predict"):
|
|
28 |
predictions = predictions[0].tolist()
|
29 |
|
30 |
# Display the predictions
|
31 |
-
labels = ["
|
32 |
for label, score in zip(labels, predictions):
|
33 |
st.write(f"{label}: {score:.4f}")
|
34 |
else:
|
|
|
28 |
predictions = predictions[0].tolist()
|
29 |
|
30 |
# Display the predictions
|
31 |
+
labels = ["agreeableness", "openness", "conscientiousness", "extraversion", "neuroticism"]
|
32 |
for label, score in zip(labels, predictions):
|
33 |
st.write(f"{label}: {score:.4f}")
|
34 |
else:
|