Uwais commited on
Commit
2384920
β€’
1 Parent(s): 6afcbc3

Fix divider bug

Browse files
Files changed (1) hide show
  1. pages/8_πŸ“_Summarise_Demo.py +4 -3
pages/8_πŸ“_Summarise_Demo.py CHANGED
@@ -48,7 +48,8 @@ st.title('πŸ“ Summarise Demo')
48
  st.write('We can use AI to summarise the text of a paragraph, maintaining the most pertinent information in the paragraph. Enter a clause below and click _summarise_ to see the automatic summarisation')
49
 
50
  st.markdown('### πŸ–Š Enter a Clause')
51
- text = st.text_area('Enter Clause Text', label_visibility='collapsed', value=EXAMPLE_TEXT.replace('\n', ' '), height=100)
 
52
  button = st.button('Summarise', type='primary', use_container_width=True)
53
 
54
  if button:
@@ -62,10 +63,10 @@ if button:
62
 
63
  st.markdown(f":gray[{summarized_text}]")
64
 
65
- st.divider()
66
 
67
  add_email_signup_form()
68
 
69
  add_footer()
70
 
71
- streamlit_analytics.stop_tracking(unsafe_password=os.environ["ANALYTICS_PASSWORD"])
 
48
  st.write('We can use AI to summarise the text of a paragraph, maintaining the most pertinent information in the paragraph. Enter a clause below and click _summarise_ to see the automatic summarisation')
49
 
50
  st.markdown('### πŸ–Š Enter a Clause')
51
+ text = st.text_area('Enter Clause Text', label_visibility='collapsed', value=EXAMPLE_TEXT.replace('\n', ' '),
52
+ height=100)
53
  button = st.button('Summarise', type='primary', use_container_width=True)
54
 
55
  if button:
 
63
 
64
  st.markdown(f":gray[{summarized_text}]")
65
 
66
+ st.write("---")
67
 
68
  add_email_signup_form()
69
 
70
  add_footer()
71
 
72
+ streamlit_analytics.stop_tracking(unsafe_password=os.environ["ANALYTICS_PASSWORD"])