EE21 commited on
Commit
fb5ed70
1 Parent(s): 907c0be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,7 +41,7 @@ def main():
41
 
42
  # Left column: Radio buttons for summarizer choice
43
  with col1:
44
- radio_options = ["Abstractive (T5)", "Abstractive (LED)", 'Abstractive (Fine-tuned BART)', "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. " \
@@ -88,7 +88,7 @@ def main():
88
  st.session_state.summary = summary
89
 
90
  # Perform extractive summarization
91
- if radio_selection == "Abstractive (Fine-tuned BART)":
92
  summary = summarize_with_bart_ft(file_content)
93
  st.session_state.summary = summary
94
 
 
41
 
42
  # Left column: Radio buttons for summarizer choice
43
  with col1:
44
+ radio_options = ["Abstractive (T5)", "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. " \
 
88
  st.session_state.summary = summary
89
 
90
  # Perform extractive summarization
91
+ if radio_selection == "Abstractive (BART Fine-tuned)":
92
  summary = summarize_with_bart_ft(file_content)
93
  st.session_state.summary = summary
94