CultriX commited on
Commit
1879b2a
·
verified ·
1 Parent(s): 5d80dad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -239,8 +239,8 @@ def main():
239
  # Add the "Export to CSV" button in the first column
240
  with button_row[0]:
241
  if st.button("Export to CSV"):
242
- # Export the DataFrame to CSV
243
- csv_data = df.to_csv(index=False)
244
 
245
  # Create a link to download the CSV file
246
  st.download_button(
 
239
  # Add the "Export to CSV" button in the first column
240
  with button_row[0]:
241
  if st.button("Export to CSV"):
242
+ # Export the DataFrame to CSV
243
+ csv_data = df.to_csv(index=False)
244
 
245
  # Create a link to download the CSV file
246
  st.download_button(