yassTrad commited on
Commit
04271f2
1 Parent(s): b39512e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -57,7 +57,11 @@ st.title("Article Summarizer")
57
  summary_type = st.sidebar.selectbox("Summary type", options=["Abstractive", "Extractive"])
58
 
59
  st.markdown(
60
- "This application aims to make an extractive summary of newspaper articles from the text of the article or the url link of the article. The summary is based on a BERT model.""")
 
 
 
 
61
 
62
  st.markdown("""Please do note that the model will take longer to generate summaries for documents that are too long.""")
63
 
 
57
  summary_type = st.sidebar.selectbox("Summary type", options=["Abstractive", "Extractive"])
58
 
59
  st.markdown(
60
+ "This application aims to make an extractive summary of newspaper articles from the text of the article or the url link of the article. The summary is based on a BERT model.")
61
+
62
+ st.markdown("""An extractive summary is one which extracts the most informative sentences from the article. It will therefore only consist of sentences present in the original text. """)
63
+
64
+ st.markdown("""An abstract summary is a summary which captures the essential ideas of the text. An abstract summary may contain sentences which are not present in the original text.""")
65
 
66
  st.markdown("""Please do note that the model will take longer to generate summaries for documents that are too long.""")
67