xtlyxt commited on
Commit
f856b92
·
verified ·
1 Parent(s): b2639c4

Update app.py

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