RamanaReddy/textsum
0
1import streamlit as st2from transformers import pipeline3 4pipe=pipeline('google/pegasus-cnn_dailymail')5text=st.text_area('enter the text')6 7if text:8 out=pipe(text)9 st.json(out)10 1import streamlit as st2from transformers import pipeline3 4pipe=pipeline('google/pegasus-cnn_dailymail')5text=st.text_area('enter the text')6 7if text:8 out=pipe(text)9 st.json(out)10