SushantGautam commited on
Commit
9c7170b
Β·
1 Parent(s): cb94e39

Update file naming format for uploads in task_1.py to use pipe separators

Browse files
medvqa/competitions/gi-2025/task_1.py CHANGED
@@ -73,7 +73,7 @@ if not MEDVQA_SUBMIT:
73
  else:
74
  print("πŸš€ Preparing for submission πŸš€")
75
  file_path_to_upload = os.path.join(
76
- snap_dir, f"{hf_username}_{current_timestamp}_task1.json")
77
  shutil.copy(os.path.join(snap_dir, file_from_validation),
78
  file_path_to_upload) # Use shutil.copy here
79
  result = client.predict(
 
73
  else:
74
  print("πŸš€ Preparing for submission πŸš€")
75
  file_path_to_upload = os.path.join(
76
+ snap_dir, f"{hf_username}|{current_timestamp}|task1.json")
77
  shutil.copy(os.path.join(snap_dir, file_from_validation),
78
  file_path_to_upload) # Use shutil.copy here
79
  result = client.predict(