xtlyxt commited on
Commit
fb8f465
·
verified ·
1 Parent(s): ab15ec2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,6 +51,6 @@ if uploaded_image:
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}")
 
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}")