mathiasleys commited on
Commit
c9f680f
·
1 Parent(s): abcaca9

Update text

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -10,10 +10,16 @@ nltk.download('punkt')
10
 
11
  DEFAULT_EXTRACTED_ARTICLE_SENTENCES_LENGTH = 10
12
 
13
- st.markdown('# Terms & conditions abstractive summarization model :pencil:')
14
- st.write('This app provides the abstract summary of the provided terms & conditions. '
 
 
 
 
15
  'The abstractive summarization is preceded by LSA (Latent Semantic Analysis) extractive summarization')
16
- st.write('Information about the model :point_right: https://huggingface.co/ml6team/distilbart-tos-summarizer-tosdr')
 
 
17
 
18
  st.markdown("""
19
  To use this:
 
10
 
11
  DEFAULT_EXTRACTED_ARTICLE_SENTENCES_LENGTH = 10
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
+ '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
  'The abstractive summarization is preceded by LSA (Latent Semantic Analysis) extractive summarization')
20
+ st.write('Want to find out more?'
21
+ 'For information about the extractive summarization :point_right: https://en.wikipedia.org/wiki/Latent_semantic_analysis'
22
+ 'For information about the abstractive summarization :point_right: https://huggingface.co/ml6team/distilbart-tos-summarizer-tosdr')
23
 
24
  st.markdown("""
25
  To use this: