Spaces:
Sleeping
Sleeping
Update app.py
Browse files11 unmodified lines1213141516171815161718196 unmodified lines2627283132293031323311 unmodified linesapp_mode = st.sidebar.selectbox("Options",["Analyze Text", "Analyze CSV"])
if app_mode == "Analyze Text": with st.expander('Analyze Text'):if app_mode == "Analyze Text": with st.expander('Analyze Text'): text = st.text_input('Text here: ') if text: blob = TextBlob(text)6 unmodified lines cleaned_text=cleantext.clean(pre, extra_spaces=True , stopwords=True ,lowercase=True ,numbers=True , punct=True) st.write(cleaned_text) else: with st.expander('Analyze CSV'):else: with st.expander('Analyze CSV'): upl = st.file_uploader('Upload file') def score(x):app.py+4-6