AIEcosystem commited on
Commit
9144ce2
·
verified ·
1 Parent(s): 27fe016

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -189,7 +189,7 @@ def create_topic_word_bubbles(df_topic_data):
189
  xaxis_title="Entity/Word",
190
  yaxis_title="Word Weight",
191
  # Hide x-axis labels since words are now labels
192
- xaxis={'tickangle': -45, 'showgrid': False, 'showticklabels': False},
193
  yaxis={'showgrid': True},
194
  showlegend=True,
195
  plot_bgcolor='#f9f9f9',
@@ -572,7 +572,7 @@ text = st.text_area(
572
  f"Type or paste your text below (max {word_limit} words), and then press Ctrl + Enter",
573
  height=250,
574
  key='my_text_area',
575
- value=st.session_state.my_text_area)
576
  word_count = len(text.split())
577
  st.markdown(f"**Word count:** {word_count}/{word_limit}")
578
  st.button("Clear text", on_click=clear_text)
 
189
  xaxis_title="Entity/Word",
190
  yaxis_title="Word Weight",
191
  # Hide x-axis labels since words are now labels
192
+ xaxis={'tickangle': -45, 'showgrid': False, 'showticklabels': False, 'zeroline': False, 'showline': False},
193
  yaxis={'showgrid': True},
194
  showlegend=True,
195
  plot_bgcolor='#f9f9f9',
 
572
  f"Type or paste your text below (max {word_limit} words), and then press Ctrl + Enter",
573
  height=250,
574
  key='my_text_area',
575
+ )
576
  word_count = len(text.split())
577
  st.markdown(f"**Word count:** {word_count}/{word_limit}")
578
  st.button("Clear text", on_click=clear_text)