mathiasleys commited on
Commit
c6ee980
1 Parent(s): a29b26b

Finalize text

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -13,16 +13,12 @@ def main() -> None:
13
  st.markdown('# Terms & conditions summarization :pencil:')
14
  st.markdown('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:<br>'
15
  'No?<br>'
16
- 'Well have we got a demo for you!<br>'
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!<br>'
18
  'You will see both an extractive summary (the most important sentences will be highlighted) and an abstractive summary (an actual summary)', unsafe_allow_html=True)
19
  st.markdown('Want to find out more?<br>'
20
- 'For information about the extractive summarization :point_right: https://en.wikipedia.org/wiki/Latent_semantic_analysis<br>'
21
- 'For information about the abstractive summarization :point_right: https://huggingface.co/ml6team/distilbart-tos-summarizer-tosdr', unsafe_allow_html=True)
22
- st.markdown("""
23
- How to use the summarizer:
24
- - Specify an URL to extract contents OR copy terms & conditions content and hit 'Summarize'
25
- """)
26
 
27
  @st.cache(allow_output_mutation=True,
28
  suppress_st_warning=True,
 
13
  st.markdown('# Terms & conditions summarization :pencil:')
14
  st.markdown('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:<br>'
15
  'No?<br>'
16
+ 'Well have we got a demo for you!', unsafe_allow_html=True)
17
+ st.markdown('Just copy-paste the lengthy Terms & Conditions text or provide a URL to the text and let our fancy NLP algorithm do the rest! :brain:<br>'
18
  'You will see both an extractive summary (the most important sentences will be highlighted) and an abstractive summary (an actual summary)', unsafe_allow_html=True)
19
  st.markdown('Want to find out more?<br>'
20
+ 'For details about the extractive part :point_right: https://en.wikipedia.org/wiki/Latent_semantic_analysis<br>'
21
+ 'For details about the abstractive part :point_right: https://huggingface.co/ml6team/distilbart-tos-summarizer-tosdr', unsafe_allow_html=True)
 
 
 
 
22
 
23
  @st.cache(allow_output_mutation=True,
24
  suppress_st_warning=True,