Dharini Baskaran commited on
Commit
f8b59fe
·
1 Parent(s): bce365b

json formatting

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. rcnn_model/scripts/rcnn_run.py +2 -2
app.py CHANGED
@@ -70,7 +70,7 @@ def predict(uploaded_file_path):
70
  result_json = json.load(jf)
71
 
72
  # Save JSON to file for download
73
- download_json_path = os.path.join(JSON_DIR, "output_for_download.json")
74
  with open(download_json_path, "w") as f:
75
  json.dump(result_json, f, indent=2)
76
 
 
70
  result_json = json.load(jf)
71
 
72
  # Save JSON to file for download
73
+ download_json_path = os.path.join(JSON_DIR, "output.json")
74
  with open(download_json_path, "w") as f:
75
  json.dump(result_json, f, indent=2)
76
 
rcnn_model/scripts/rcnn_run.py CHANGED
@@ -71,8 +71,8 @@ def prediction_runner(filename, coco_dest_path, val_img_dest_path, predictor, se
71
 
72
  def instantiate_ann_build():
73
  ann_builder = AnnBuild()
74
- ann_builder.set_info("generated annotations of Inovonics and university provided data","inovonData","NA",datetime.now())
75
- ann_builder.add_license("TODO", "TODO")
76
  return ann_builder
77
 
78
 
 
71
 
72
  def instantiate_ann_build():
73
  ann_builder = AnnBuild()
74
+ ann_builder.set_info("Generated Annotations from User Submitted Data","End User","N/A",datetime.now())
75
+ ann_builder.add_license("TBD", "TBD")
76
  return ann_builder
77
 
78