Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +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)']
|
46 |
|
47 |
-
radio_selection = st.radio("Choose type of summarizer
|
48 |
|
49 |
# Middle column: Text input and File uploader
|
50 |
with col2:
|
@@ -117,7 +117,7 @@ def main():
|
|
117 |
|
118 |
# Right column: Displaying text after pressing 'Summarize'
|
119 |
with col3:
|
120 |
-
st.write("Summary
|
121 |
if 'summary' in st.session_state:
|
122 |
st.write(st.session_state.summary)
|
123 |
|
|
|
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)']
|
46 |
|
47 |
+
radio_selection = st.radio("Choose type of summarizer", radio_options)
|
48 |
|
49 |
# Middle column: Text input and File uploader
|
50 |
with col2:
|
|
|
117 |
|
118 |
# Right column: Displaying text after pressing 'Summarize'
|
119 |
with col3:
|
120 |
+
st.write("Summary")
|
121 |
if 'summary' in st.session_state:
|
122 |
st.write(st.session_state.summary)
|
123 |
|