Commit
Β·
cb94e39
1
Parent(s):
1ef368a
Update file upload extension from .py to .json in task_1.py
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.
|
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(
|