xtlyxt commited on
Commit
223f5c0
·
verified ·
1 Parent(s): 7f5b20c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,5 +29,5 @@ if uploaded_image:
29
 
30
  # Display scores for each category
31
  st.write("Emotion Scores:")
32
- for label, score in zip(emotion_labels, results[0]["scores"]):
33
- st.write(f"{label}: {score:.4f}")
 
29
 
30
  # Display scores for each category
31
  st.write("Emotion Scores:")
32
+ for score in results[0]["scores"]:
33
+ st.write(f"{score:.4f}")