Gladiator commited on
Commit
ea60296
1 Parent(s): 13a8c11

upd formatting of information

Browse files
Files changed (2) hide show
  1. .gitignore +2 -1
  2. app.py +7 -6
.gitignore CHANGED
@@ -141,4 +141,5 @@ cython_debug/
141
  Docs/
142
  .DS_Store
143
  .vscode/
144
- test.ipynb
 
 
141
  Docs/
142
  .DS_Store
143
  .vscode/
144
+ test.ipynb
145
+ test.py
app.py CHANGED
@@ -27,15 +27,16 @@ if __name__ == "__main__":
27
  )
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
  )
 
27
  )
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
+ 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
  )