Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -544,7 +544,7 @@ def main():
|
|
| 544 |
data_list.append(dict(row))
|
| 545 |
|
| 546 |
# # Convert the list of dictionaries to JSON
|
| 547 |
-
|
| 548 |
|
| 549 |
# # Write the JSON data to a file
|
| 550 |
# #with open("smalljson.json", "r+") as fi:
|
|
|
|
| 544 |
data_list.append(dict(row))
|
| 545 |
|
| 546 |
# # Convert the list of dictionaries to JSON
|
| 547 |
+
json_data = json.dumps(data_list)
|
| 548 |
|
| 549 |
# # Write the JSON data to a file
|
| 550 |
# #with open("smalljson.json", "r+") as fi:
|