Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|