nickmuchi commited on
Commit
0304dc4
β€’
1 Parent(s): 364f083

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

Browse files
pages/1_Tweets_Visualization_πŸ”Ž_.py CHANGED
@@ -62,7 +62,7 @@ try:
62
 
63
  st.plotly_chart(fig)
64
 
65
- with st.comtainer():
66
  st.subheader('Topic Distribution Scatter Plot')
67
  ## Display negative sentence locations
68
  ht = df.tweet.apply(lambda txt: '<br>'.join(textwrap.wrap(txt, width=70)))
@@ -91,10 +91,6 @@ try:
91
  plt.axis("off")
92
  plt.show()
93
  st.pyplot()
94
-
95
- else:
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
 
 
62
 
63
  st.plotly_chart(fig)
64
 
65
+ with st.container():
66
  st.subheader('Topic Distribution Scatter Plot')
67
  ## Display negative sentence locations
68
  ht = df.tweet.apply(lambda txt: '<br>'.join(textwrap.wrap(txt, width=70)))
 
91
  plt.axis("off")
92
  plt.show()
93
  st.pyplot()
 
 
 
 
94
 
95
  except (AttributeError, KeyError) as e:
96