import streamlit as st from summarizer import run_summarization def app(): st.title('Summarizer') st.write('Please provide the text to be summarized') user_input = st.text_area('Enter text','') if st.button('Summarize'): output1 = run_summarization(str(user_input))#,minLength,maxLength) st.write("Text Summary: ") st.write(output1)