mathiasleys commited on
Commit
567d3e3
·
1 Parent(s): a9755d6

Update text

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -11,18 +11,17 @@ def main() -> None:
11
  nltk.download('punkt')
12
 
13
  st.markdown('# Terms & conditions summarization :pencil:')
14
- st.markdown("""
15
- Do you also take the time out of your day to thoroughly read every word of the Terms & Conditions before signing up for a new app? :thinking_face: \n No?
16
- Well have we got a demo for you!
17
- Just copy-paste the lengthy Terms & Conditions text or provide a URL to the text and let our fancy NLP algorithm do the rest!
18
- You will see both an extractive summary (the most important sentences will be highlighted) and an abstractive summary (an actual summary)
19
- """, unsafe_allow_html=True)
20
  st.markdown('Want to find out more?<br>'
21
  'For information about the extractive summarization :point_right: https://en.wikipedia.org/wiki/Latent_semantic_analysis<br>'
22
  'For information about the abstractive summarization :point_right: https://huggingface.co/ml6team/distilbart-tos-summarizer-tosdr', unsafe_allow_html=True)
23
-
24
  st.markdown("""
25
- How to use the summarizer: :light_bulb:
26
  - Specify an URL to extract contents OR copy terms & conditions content and hit 'Summarize'
27
  """)
28
 
 
11
  nltk.download('punkt')
12
 
13
  st.markdown('# Terms & conditions summarization :pencil:')
14
+ st.write('Do you also take the time out of your day to thoroughly read every word of the Terms & Conditions before signing up for a new app? :thinking_face:')
15
+ st.write('No?')
16
+ st.write('Well have we got a demo for you!')
17
+ st.write('Just copy-paste the lengthy Terms & Conditions text or provide a URL to the text and let our fancy NLP algorithm do the rest!')
18
+ st.write('You will see both an extractive summary (the most important sentences will be highlighted) and an abstractive summary (an actual summary)')
19
+ st.write('')
20
  st.markdown('Want to find out more?<br>'
21
  'For information about the extractive summarization :point_right: https://en.wikipedia.org/wiki/Latent_semantic_analysis<br>'
22
  'For information about the abstractive summarization :point_right: https://huggingface.co/ml6team/distilbart-tos-summarizer-tosdr', unsafe_allow_html=True)
 
23
  st.markdown("""
24
+ How to use the summarizer:
25
  - Specify an URL to extract contents OR copy terms & conditions content and hit 'Summarize'
26
  """)
27