EE21 commited on
Commit
20e79af
1 Parent(s): 59d4664

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -44,14 +44,7 @@ def main():
44
  radio_options = ["Hybrid (RAKE + BART Fine-tuned)", "Abstractive (LongT5)", "Abstractive (LED)", 'Abstractive (BART Fine-tuned)', "Abstractive (BART-large-CNN)", 'Extractive (TextRank)',
45
  "Extractive (Latent Semantic Analysis)", 'Keyphrase Extraction (RAKE)', 'Keyword Extraction (RAKE)']
46
 
47
- help_text = "Abstractive: Abstractive summarization generates a summary that may contain words not present in the original text. " \
48
- "It uses a fine-tuned model on BART-large-CNN.<br>" \
49
- "Extractive: Extractive summarization selects and extracts sentences or phrases directly from the original text to create a summary using the TextRank algorithm.<br>" \
50
- "Keyword Extraction: Keyword extraction identifies and extracts important keywords or terms from the text using the Rake algorithm. " \
51
- "These keywords can be used for various purposes such as content analysis and SEO.<br>" \
52
- "Keyphrase Extraction: Keyphrase extraction is similar to keyword extraction but focuses on identifying multi-word phrases or expressions that are significant in the text using the Rake algorithm."
53
-
54
- radio_selection = st.radio("Choose type of summarizer:", radio_options, help=help_text)
55
 
56
  # Middle column: Text input and File uploader
57
  with col2:
 
44
  radio_options = ["Hybrid (RAKE + BART Fine-tuned)", "Abstractive (LongT5)", "Abstractive (LED)", 'Abstractive (BART Fine-tuned)', "Abstractive (BART-large-CNN)", 'Extractive (TextRank)',
45
  "Extractive (Latent Semantic Analysis)", 'Keyphrase Extraction (RAKE)', 'Keyword Extraction (RAKE)']
46
 
47
+ radio_selection = st.radio("Choose type of summarizer:", radio_options)
 
 
 
 
 
 
 
48
 
49
  # Middle column: Text input and File uploader
50
  with col2: