Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -51,6 +51,6 @@ if uploaded_image:
|
|
51 |
|
52 |
|
53 |
# Display scores for each category
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
51 |
|
52 |
|
53 |
# Display scores for each category
|
54 |
+
st.write("Emotion Scores:")
|
55 |
+
for label, score in zip(emotion_labels, outputs.logits[0]):
|
56 |
+
st.write(f"{label}: {score:.4f}")
|