Uvini commited on
Commit
91c0c59
·
1 Parent(s): b0e20dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ file = st.file_uploader(" ",type=["csv"])
27
  if file is not None:
28
  # Read the CSV file into a Pandas DataFrame
29
  df = pd.read_csv(file)
30
- st.markdown(f"<h5 style='margin-top:40px'>Total reviews: {len(df)-1} </h5>", unsafe_allow_html=True)
31
 
32
  # Write the total number of records
33
  st.markdown(
@@ -105,7 +105,7 @@ if file is not None:
105
  csv = convert_df(df)
106
 
107
  # Add some space between the download button and the table
108
- st.write("<br><br>", unsafe_allow_html=True)
109
 
110
  st.download_button(
111
  label="Download data as CSV",
 
27
  if file is not None:
28
  # Read the CSV file into a Pandas DataFrame
29
  df = pd.read_csv(file)
30
+ st.markdown(f"<h5 style='margin-top:40px'>Total reviews: {len(df)} </h5>", unsafe_allow_html=True)
31
 
32
  # Write the total number of records
33
  st.markdown(
 
105
  csv = convert_df(df)
106
 
107
  # Add some space between the download button and the table
108
+ st.write("<br>", unsafe_allow_html=True)
109
 
110
  st.download_button(
111
  label="Download data as CSV",