Spaces:
Sleeping
Sleeping
Update app.py
Browse files4 unmodified lines56789101112131433 unmodified lines48495051525354554 unmodified linesimport streamlit as stimport cleantext
def clean_text(text): text = text.replace("''",""),replace("-\n","").replace("\n", " ").strip() return (text)
st.title("Sentiment Analysis")
#st.header('Sentiment Analysis')33 unmodified lines button1 = st.button("clean text") if button1: st.write(text) clean = clean_text(text) st.write(clean)
app.py+6