Spaces:
Build error
Build error
Commit
·
a9755d6
1
Parent(s):
2ad6bb3
Edit text
Browse files
app.py
CHANGED
@@ -12,8 +12,7 @@ def main() -> None:
|
|
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:
|
16 |
-
No?
|
17 |
Well have we got a demo for you!
|
18 |
Just copy-paste the lengthy Terms & Conditions text or provide a URL to the text and let our fancy NLP algorithm do the rest!
|
19 |
You will see both an extractive summary (the most important sentences will be highlighted) and an abstractive summary (an actual summary)
|
@@ -23,7 +22,7 @@ def main() -> None:
|
|
23 |
'For information about the abstractive summarization :point_right: https://huggingface.co/ml6team/distilbart-tos-summarizer-tosdr', unsafe_allow_html=True)
|
24 |
|
25 |
st.markdown("""
|
26 |
-
How to use summarizer:
|
27 |
- Specify an URL to extract contents OR copy terms & conditions content and hit 'Summarize'
|
28 |
""")
|
29 |
|
|
|
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)
|
|
|
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 |
|