Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,6 @@ if uploaded_image:
|
|
26 |
|
27 |
|
28 |
# Display scores for each category
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
26 |
|
27 |
|
28 |
# Display scores for each category
|
29 |
+
st.write("Emotion Scores:")
|
30 |
+
for label, score in zip(emotion_labels, outputs.logits[0]):
|
31 |
+
st.write(f"{label}: {score:.4f}")
|