shamim237/python-dev-task-skyranko
0
1import streamlit as st2from scrap import extract3from paraphraser import parphrase4 5def app():6 st.title('Paraphraser')7 st.write('Please provide a link or copy and paste this link in the cell below- https://www.amazon.com/dp/B09B9TB61G')8 user_input = st.text_input('Enter website link','')9 with st.spinner('Please wait...'):10 if st.button('Paraphrase'):11 data = extract(user_input)12 output = parphrase(data) 13 output = " ".join(output) 14 st.write("Paraphrased Text: ")15 st.write(output)16 st.success("Done!")17 