Spaces:
Build error
Build error
sdhanabal1
commited on
Commit
•
341d7db
1
Parent(s):
ce42613
Resolve PR merge issue
Browse files
app.py
CHANGED
@@ -11,14 +11,15 @@ def main() -> None:
|
|
11 |
nltk.download('punkt')
|
12 |
|
13 |
st.markdown('# Terms & conditions summarization :pencil:')
|
14 |
-
st.write(
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
'For information about the
|
|
|
22 |
|
23 |
st.markdown("""
|
24 |
To use this:
|
|
|
11 |
nltk.download('punkt')
|
12 |
|
13 |
st.markdown('# Terms & conditions summarization :pencil:')
|
14 |
+
st.write(
|
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: \nNo? '
|
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', unsafe_allow_html=True)
|
20 |
+
st.write('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 |
To use this:
|