Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,5 +65,5 @@ if st.button("Predict Emotions") and selected_images:
|
|
65 |
st.write(f"Emotion Scores for #{i+1} Image")
|
66 |
st.write(f"{predicted_emotion}: {result[0]['score']:.4f}")
|
67 |
# Use the index to get the corresponding filename
|
68 |
-
|
69 |
-
|
|
|
65 |
st.write(f"Emotion Scores for #{i+1} Image")
|
66 |
st.write(f"{predicted_emotion}: {result[0]['score']:.4f}")
|
67 |
# Use the index to get the corresponding filename
|
68 |
+
st.write(f"Original File Name: {uploaded_images[i].name if i < len(uploaded_images) else 'Unknown'}")
|
69 |
+
|