Seetha commited on
Commit
f8ad095
1 Parent(s): b8ee3e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -546,7 +546,7 @@ def main():
546
 
547
  # # Convert the CSV data to a list of dictionaries
548
  data_list = []
549
- for row in csv_data.iterrows():
550
  data_list.append(dict(row))
551
 
552
  # # Convert the list of dictionaries to JSON
 
546
 
547
  # # Convert the CSV data to a list of dictionaries
548
  data_list = []
549
+ for row in csv_data:
550
  data_list.append(dict(row))
551
 
552
  # # Convert the list of dictionaries to JSON