TroglodyteDerivations commited on
Commit
9412f88
1 Parent(s): 8edd6e7

Updated lines 65,57,54,16 with: st.image('Bluesky Emoji Model 3.jpeg', caption='Bluesky Emoji Model 3’) | st.image('Bluesky Emoji Model 2.jpeg', caption='Bluesky Emoji Model 2’) | st.image('Bluesky Emoji Model 4.jpeg', caption='Bluesky Emoji Model 4’) | st.image('Bluesky Emoji Model 1.jpeg', caption='Bluesky Emoji Model 1')

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -13,6 +13,7 @@ from collections import defaultdict
13
 
14
  # Streamlit app title
15
  st.title("Top 200 Most Frequent Emojis in Bluesky Posts")
 
16
 
17
  # Step 1: Load the Dataset
18
  # Load the dataset
@@ -50,8 +51,10 @@ emojis, counts = zip(*top_emojis)
50
  df = pd.DataFrame({'Emojis': emojis, 'Frequency': counts})
51
 
52
  # Display the dataframe in the Streamlit app
 
53
  st.write('### Top 200 Emojis Dataframe')
54
  st.dataframe(df)
 
55
 
56
  # Plot the bar chart
57
  fig = px.bar(df, x='Emojis', y='Frequency', title='Top 200 Most Frequent Emojis')
@@ -59,4 +62,6 @@ fig.update_xaxes(title_text='Emojis')
59
  fig.update_yaxes(title_text='Frequency')
60
 
61
  # Display the plot in the Streamlit app
62
- st.plotly_chart(fig)
 
 
 
13
 
14
  # Streamlit app title
15
  st.title("Top 200 Most Frequent Emojis in Bluesky Posts")
16
+ st.image('Bluesky Emoji Model 1.jpeg', caption='Bluesky Emoji Model 1')
17
 
18
  # Step 1: Load the Dataset
19
  # Load the dataset
 
51
  df = pd.DataFrame({'Emojis': emojis, 'Frequency': counts})
52
 
53
  # Display the dataframe in the Streamlit app
54
+ st.image('Bluesky Emoji Model 4.jpeg', caption='Bluesky Emoji Model 4')
55
  st.write('### Top 200 Emojis Dataframe')
56
  st.dataframe(df)
57
+ st.image('Bluesky Emoji Model 2.jpeg', caption='Bluesky Emoji Model 2')
58
 
59
  # Plot the bar chart
60
  fig = px.bar(df, x='Emojis', y='Frequency', title='Top 200 Most Frequent Emojis')
 
62
  fig.update_yaxes(title_text='Frequency')
63
 
64
  # Display the plot in the Streamlit app
65
+ st.image('Bluesky Emoji Model 3.jpeg', caption='Bluesky Emoji Model 3')
66
+ st.plotly_chart(fig)
67
+