Spaces:
Runtime error
Runtime error
upd formatting of information
Browse files
app.py
CHANGED
@@ -31,14 +31,14 @@ if __name__ == "__main__":
|
|
31 |
)
|
32 |
st.markdown(
|
33 |
"""- Raw text in text box
|
34 |
-
|
35 |
-
|
36 |
)
|
37 |
st.markdown(
|
38 |
"""This app supports two type of summarization:
|
39 |
|
40 |
-
|
41 |
-
|
42 |
)
|
43 |
st.markdown("---")
|
44 |
# ---------------------------
|
|
|
31 |
)
|
32 |
st.markdown(
|
33 |
"""- Raw text in text box
|
34 |
+
- URL of article/news to be summarized
|
35 |
+
- .txt, .pdf, .docx file formats"""
|
36 |
)
|
37 |
st.markdown(
|
38 |
"""This app supports two type of summarization:
|
39 |
|
40 |
+
1. **Extractive Summarization**: The extractive approach involves picking up the most important phrases and lines from the documents. It then combines all the important lines to create the summary. So, in this case, every line and word of the summary actually belongs to the original document which is summarized.
|
41 |
+
2. **Abstractive Summarization**: The abstractive approach involves rephrasing the complete document while capturing the complete meaning of the document. This type of summarization provides more human-like summary"""
|
42 |
)
|
43 |
st.markdown("---")
|
44 |
# ---------------------------
|