Spaces:
Sleeping
Sleeping
Correct username
Browse files- validation.py +1 -1
validation.py
CHANGED
|
@@ -111,7 +111,7 @@ def post_submission() -> None:
|
|
| 111 |
space_id = os.environ['SPACE_ID']
|
| 112 |
|
| 113 |
submission_json = {
|
| 114 |
-
"username": os.environ['
|
| 115 |
"agent_code": f"https://huggingface.co/spaces/{space_id}/tree/main",
|
| 116 |
"answers": [{"task_id": id, "submitted_answer": a} for id, a in results.items()]
|
| 117 |
}
|
|
|
|
| 111 |
space_id = os.environ['SPACE_ID']
|
| 112 |
|
| 113 |
submission_json = {
|
| 114 |
+
"username": os.environ['HF_USERNAME'],
|
| 115 |
"agent_code": f"https://huggingface.co/spaces/{space_id}/tree/main",
|
| 116 |
"answers": [{"task_id": id, "submitted_answer": a} for id, a in results.items()]
|
| 117 |
}
|