nickmuchi commited on
Commit
364f083
β€’
1 Parent(s): 9724ee5

Update pages/1_Tweets_Visualization_πŸ”Ž_.py

Browse files
pages/1_Tweets_Visualization_πŸ”Ž_.py CHANGED
@@ -82,11 +82,6 @@ try:
82
  )
83
 
84
  st.plotly_chart(fig)
85
-
86
- with st.container():
87
- st.subheader('Topic Density Heatmap')
88
- fig = px.density_heatmap(df, x='creation_time', y='topic')
89
- st.plotly_chart(fig)
90
 
91
  with st.container():
92
  st.subheader('Sentiment WordCloud')
@@ -101,6 +96,8 @@ try:
101
 
102
  st.warning("No Tweets detected, please navigate to Home page and refresh tweet stream",icon="⚠️")
103
 
104
- except (AttributeError, KeyError):
 
 
105
 
106
  st.error('Tweets Error, please navigate to Home page and refresh tweet stream', icon="🚨")
 
82
  )
83
 
84
  st.plotly_chart(fig)
 
 
 
 
 
85
 
86
  with st.container():
87
  st.subheader('Sentiment WordCloud')
 
96
 
97
  st.warning("No Tweets detected, please navigate to Home page and refresh tweet stream",icon="⚠️")
98
 
99
+ except (AttributeError, KeyError) as e:
100
+
101
+ print(e)
102
 
103
  st.error('Tweets Error, please navigate to Home page and refresh tweet stream', icon="🚨")