Shiyu Zhao commited on
Commit
bf00306
·
1 Parent(s): 28ab0f4

Update space

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -689,7 +689,7 @@ def process_submission(
689
  submission_data = {
690
  **meta_data,
691
  "results": processed_results,
692
- "status": "pending_review", # or "approved"
693
  "submission_date": datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
694
  "csv_path": csv_path_in_repo
695
  }
@@ -711,7 +711,7 @@ def process_submission(
711
  # 3. Create or update latest.json
712
  latest_info = {
713
  "latest_submission": timestamp,
714
- "status": "pending_review", # or "approved"
715
  "method_name": method_name,
716
  "team_name": team_name
717
  }
 
689
  submission_data = {
690
  **meta_data,
691
  "results": processed_results,
692
+ "status": "approved", # or "pending_review"
693
  "submission_date": datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
694
  "csv_path": csv_path_in_repo
695
  }
 
711
  # 3. Create or update latest.json
712
  latest_info = {
713
  "latest_submission": timestamp,
714
+ "status": "approved", # or "pending_review"
715
  "method_name": method_name,
716
  "team_name": team_name
717
  }