Spaces:
Runtime error
Runtime error
Commit
Β·
0135bb2
1
Parent(s):
2ae4354
improve ui
Browse files- app.py +11 -7
- src/about.py +7 -7
app.py
CHANGED
|
@@ -144,7 +144,7 @@ with demo:
|
|
| 144 |
# row_count=5,
|
| 145 |
# )
|
| 146 |
with gr.Row():
|
| 147 |
-
gr.Markdown("# βοΈβ¨ Submit your
|
| 148 |
|
| 149 |
with gr.Row():
|
| 150 |
with gr.Column():
|
|
@@ -200,13 +200,17 @@ with demo:
|
|
| 200 |
with gr.Row():
|
| 201 |
logger.info("Citation")
|
| 202 |
with gr.Accordion(CITATION_BUTTON_LABEL, open=False):
|
| 203 |
-
|
| 204 |
-
value=CITATION_BUTTON_TEXT,
|
| 205 |
-
|
| 206 |
-
lines=20,
|
| 207 |
-
elem_id="citation-button",
|
| 208 |
-
show_copy_button=True,
|
| 209 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
|
| 211 |
logger.info("Scheduler")
|
| 212 |
scheduler = BackgroundScheduler()
|
|
|
|
| 144 |
# row_count=5,
|
| 145 |
# )
|
| 146 |
with gr.Row():
|
| 147 |
+
gr.Markdown("# βοΈβ¨ Submit your solutions here!", elem_classes="markdown-text")
|
| 148 |
|
| 149 |
with gr.Row():
|
| 150 |
with gr.Column():
|
|
|
|
| 200 |
with gr.Row():
|
| 201 |
logger.info("Citation")
|
| 202 |
with gr.Accordion(CITATION_BUTTON_LABEL, open=False):
|
| 203 |
+
gr.Code(
|
| 204 |
+
value=CITATION_BUTTON_TEXT.strip(),
|
| 205 |
+
elem_id="citation-block",
|
|
|
|
|
|
|
|
|
|
| 206 |
)
|
| 207 |
+
# citation_button = gr.Textbox(
|
| 208 |
+
# value=CITATION_BUTTON_TEXT,
|
| 209 |
+
# # label=CITATION_BUTTON_LABEL,
|
| 210 |
+
# lines=20,
|
| 211 |
+
# elem_id="citation-button",
|
| 212 |
+
# show_copy_button=True,
|
| 213 |
+
# )
|
| 214 |
|
| 215 |
logger.info("Scheduler")
|
| 216 |
scheduler = BackgroundScheduler()
|
src/about.py
CHANGED
|
@@ -49,13 +49,13 @@ EVALUATION_QUEUE_TEXT = """
|
|
| 49 |
|
| 50 |
This leaderboard evaluates systems on the FormulaOne core dataset. Submissions consist of a .jsonl file with solution code for each problem.
|
| 51 |
|
| 52 |
-
### π
|
| 53 |
|
| 54 |
Your submission must be a .jsonl file with one entry per problem:
|
| 55 |
|
| 56 |
```json
|
| 57 |
-
{"problem_id": 1, "solution": "<your Python code here>"}
|
| 58 |
-
{"problem_id": 2, "solution": "<your Python code here>"}
|
| 59 |
...
|
| 60 |
```
|
| 61 |
|
|
@@ -72,14 +72,14 @@ Submissions must:
|
|
| 72 |
- Provide solutions as Python strings
|
| 73 |
- Avoid duplicates
|
| 74 |
|
| 75 |
-
### π€
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
| 79 |
- **System Name**
|
| 80 |
- **Organization**
|
| 81 |
- **System Type** (e.g., `base`, `instruct`, `RLHF`, etc.)
|
| 82 |
-
|
| 83 |
|
| 84 |
### β±οΈ After Submission
|
| 85 |
|
|
|
|
| 49 |
|
| 50 |
This leaderboard evaluates systems on the FormulaOne core dataset. Submissions consist of a .jsonl file with solution code for each problem.
|
| 51 |
|
| 52 |
+
### π I. Format Your Submission File
|
| 53 |
|
| 54 |
Your submission must be a .jsonl file with one entry per problem:
|
| 55 |
|
| 56 |
```json
|
| 57 |
+
{"problem_id": "1", "solution": "<your Python code here>"}
|
| 58 |
+
{"problem_id": "2", "solution": "<your Python code here>"}
|
| 59 |
...
|
| 60 |
```
|
| 61 |
|
|
|
|
| 72 |
- Provide solutions as Python strings
|
| 73 |
- Avoid duplicates
|
| 74 |
|
| 75 |
+
### π€ II. Submit via the UI below
|
| 76 |
|
| 77 |
+
- Upload your `.jsonl` file.
|
| 78 |
+
- Fill in the following fields:
|
| 79 |
- **System Name**
|
| 80 |
- **Organization**
|
| 81 |
- **System Type** (e.g., `base`, `instruct`, `RLHF`, etc.)
|
| 82 |
+
- Click **Submit**.
|
| 83 |
|
| 84 |
### β±οΈ After Submission
|
| 85 |
|