EE21 commited on
Commit
c0ade28
1 Parent(s): 50d3158

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,12 +70,12 @@ def main():
70
  st.session_state.summary = summary
71
 
72
  # Perform Keyword Extraction
73
- if radio_selection == "Keyword Extraction":
74
  summary = extract_keywords(file_content)
75
  st.session_state.summary = summary
76
 
77
  # Perform Keyphrase Extraction
78
- if radio_selection == "Keyphrase Extraction":
79
  summary = extract_sentences_with_obligations(file_content)
80
  st.session_state.summary = summary
81
 
 
70
  st.session_state.summary = summary
71
 
72
  # Perform Keyword Extraction
73
+ if radio_selection == "Keyword Extraction (RAKE)":
74
  summary = extract_keywords(file_content)
75
  st.session_state.summary = summary
76
 
77
  # Perform Keyphrase Extraction
78
+ if radio_selection == "Keyphrase Extraction (RAKE)":
79
  summary = extract_sentences_with_obligations(file_content)
80
  st.session_state.summary = summary
81