Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -526,7 +526,7 @@ def main():
|
|
| 526 |
})
|
| 527 |
|
| 528 |
# Write JSON to file
|
| 529 |
-
with open('level2.json', '
|
| 530 |
json.dump(json_data, f)
|
| 531 |
|
| 532 |
#dataset = load_dataset("seetha/visual_files")
|
|
|
|
| 526 |
})
|
| 527 |
|
| 528 |
# Write JSON to file
|
| 529 |
+
with open('level2.json', 'a') as f: #w+
|
| 530 |
json.dump(json_data, f)
|
| 531 |
|
| 532 |
#dataset = load_dataset("seetha/visual_files")
|