Spaces:
Build error
Build error
mathiasleys
commited on
Commit
·
91466d8
1
Parent(s):
4ba2687
Edit text
Browse files
app.py
CHANGED
@@ -11,15 +11,14 @@ nltk.download('punkt')
|
|
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 |
-
'
|
16 |
-
'
|
17 |
-
'
|
18 |
-
'
|
19 |
-
'\nThe abstractive summarization is preceded by LSA (Latent Semantic Analysis) extractive summarization')
|
20 |
st.write('Want to find out more?'
|
21 |
-
'
|
22 |
-
'
|
23 |
|
24 |
st.markdown("""
|
25 |
To use this:
|
|
|
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: \nNo?'
|
15 |
+
'Well have we got a demo for you!'
|
16 |
+
'Just copy-paste the lengthy Terms & Conditions text or provide a URL to the text and let our fancy NLP algorithm do the rest!'
|
17 |
+
'You will see both an extractive summary (the most important sentences will be highlighted) and an abstractive summary (an actual summary)'
|
18 |
+
'The abstractive summarization is preceded by LSA (Latent Semantic Analysis) extractive summarization')
|
|
|
19 |
st.write('Want to find out more?'
|
20 |
+
'For information about the extractive summarization :point_right: https://en.wikipedia.org/wiki/Latent_semantic_analysis'
|
21 |
+
'For information about the abstractive summarization :point_right: https://huggingface.co/ml6team/distilbart-tos-summarizer-tosdr')
|
22 |
|
23 |
st.markdown("""
|
24 |
To use this:
|