AIEcosystem commited on
Commit
d5574f7
Β·
verified Β·
1 Parent(s): 510a152

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +5 -1
src/streamlit_app.py CHANGED
@@ -104,7 +104,7 @@ with st.sidebar:
104
  st.code(code, language="html")
105
  st.text("")
106
  st.text("")
107
- st.divider()
108
  st.subheader("πŸš€ Ready to build your own AI Web App?", divider="green")
109
  st.link_button("AI Web App Builder", "https://nlpblogs.com/build-your-named-entity-recognition-app/", type="primary")
110
  # --- Comet ML Setup ---
@@ -244,6 +244,10 @@ with tab1:
244
  st.dataframe(repeating_entities, use_container_width=True)
245
  fig_repeating_bar = px.bar(repeating_entities, x='Entity', y='Count', color='Entity')
246
  fig_repeating_bar.update_layout(xaxis={'categoryorder': 'total descending'}, paper_bgcolor='#F5FFFA', plot_bgcolor='#F5FFFA')
 
 
 
 
247
  st.plotly_chart(fig_repeating_bar)
248
  else:
249
  st.warning("No entities were found that occur more than once.")
 
104
  st.code(code, language="html")
105
  st.text("")
106
  st.text("")
107
+
108
  st.subheader("πŸš€ Ready to build your own AI Web App?", divider="green")
109
  st.link_button("AI Web App Builder", "https://nlpblogs.com/build-your-named-entity-recognition-app/", type="primary")
110
  # --- Comet ML Setup ---
 
244
  st.dataframe(repeating_entities, use_container_width=True)
245
  fig_repeating_bar = px.bar(repeating_entities, x='Entity', y='Count', color='Entity')
246
  fig_repeating_bar.update_layout(xaxis={'categoryorder': 'total descending'}, paper_bgcolor='#F5FFFA', plot_bgcolor='#F5FFFA')
247
+ expander = st.expander("**Download**")
248
+ expander.write("""
249
+ You can easily download the bar chart by hovering over it. Look for the download icon that appears in the top right corner.
250
+ """)
251
  st.plotly_chart(fig_repeating_bar)
252
  else:
253
  st.warning("No entities were found that occur more than once.")