umang018 commited on
Commit
986bc4a
·
verified ·
1 Parent(s): 9e957cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def main():
31
  selected_emotion = st.selectbox('Select Emotion', unique_emotions)
32
 
33
  # Filter the data based on the selected emotion and sort by score
34
- filtered_data = df[df['emotion_label'] == selected_emotion].sort_values(by='score', ascending=False).head(100)
35
 
36
  # Pagination settings
37
  page_size = 10
 
31
  selected_emotion = st.selectbox('Select Emotion', unique_emotions)
32
 
33
  # Filter the data based on the selected emotion and sort by score
34
+ filtered_data = df[df['emotion'] == selected_emotion].sort_values(by='score', ascending=False).head(100)
35
 
36
  # Pagination settings
37
  page_size = 10