Update app.py
Browse files98 unmodified lines9910010110210310210310410510610410510610710810911011111211398 unmodified lines st.set_option('deprecation.showPyplotGlobalUse', False) st.set_page_config(page_title="Review Sentiment Analysis and Improvement Summarisation Report for Business Product", page_icon="🦜") st.header("Review Sentiment Analysis and Improvement Summarisation Report for Business Product") try: uploaded_file = st.file_uploader("🔶 Upload CSV file for analysis 🔶", type={"csv"}) uploaded_file = st.file_uploader("🔶 Upload CSV file for analysis 🔶", type={"csv"}) columnname = st.text_input("🔶 Please enter the column name in CSV file you want to analyze 🔶") num_data = st.number_input("🔶 Please enter the number of rows you want to process 🔶",step=1) input_data = pd.read_csv(uploaded_file) st.dataframe(input_data) if dataset is not None: columnname = st.text_input("🔶 Please enter the column name in CSV file you want to analyze 🔶") num_data = st.number_input("🔶 Please enter the number of rows you want to process 🔶",step=1) input_data = pd.read_csv(uploaded_file) st.dataframe(input_data) except: st.write("Please load a file to continue...") st.text('️️ ') if uploaded_file is not None: uploaded_file.seek(0)app.py+9-5