Seetha commited on
Commit
1252604
1 Parent(s): 960ded6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -526,7 +526,7 @@ def main():
526
  })
527
 
528
  # Write JSON to file
529
- with open('level2.json', 'w+') as f:
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")