Spaces:
Runtime error
Runtime error
format information
Browse files
app.py
CHANGED
@@ -28,12 +28,14 @@ if __name__ == "__main__":
|
|
28 |
|
29 |
st.markdown(
|
30 |
"""Enter a text or a url to get a concise summary of the article while conserving the overall meaning. This app supports text in the following formats:
|
|
|
31 |
- Raw text in text box
|
32 |
- URL of article/news to be summarized
|
33 |
- .txt, .pdf, .docx file formats"""
|
34 |
)
|
35 |
st.markdown(
|
36 |
"""This app supports two type of summarization:
|
|
|
37 |
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.
|
38 |
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"""
|
39 |
)
|
|
|
28 |
|
29 |
st.markdown(
|
30 |
"""Enter a text or a url to get a concise summary of the article while conserving the overall meaning. This app supports text in the following formats:
|
31 |
+
|
32 |
- Raw text in text box
|
33 |
- URL of article/news to be summarized
|
34 |
- .txt, .pdf, .docx file formats"""
|
35 |
)
|
36 |
st.markdown(
|
37 |
"""This app supports two type of summarization:
|
38 |
+
|
39 |
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.
|
40 |
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"""
|
41 |
)
|