Spaces:
Runtime error
Runtime error
Commit
Β·
4e44ee3
1
Parent(s):
d7db717
add SUBMISSION_TERMS_TEXT
Browse files- app.py +3 -1
- src/about.py +17 -0
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from gradio_leaderboard import Leaderboard, SelectColumns
|
|
| 8 |
from huggingface_hub import whoami
|
| 9 |
|
| 10 |
# HTML is split so we can inject Gradio media (images/video) where needed.
|
| 11 |
-
from src.about import WHAT_IS_F1_HTML_AFTER_TIER1FIG_TAIL # tail after Tier1 fig
|
| 12 |
from src.about import WHAT_IS_F1_HTML_AFTER_VIDEO # text immediately after the video
|
| 13 |
from src.about import WHAT_IS_F1_HTML_AFTER_WARMUPFIG # text between warmup/tier1 figs
|
| 14 |
from src.about import WHAT_IS_F1_HTML_BOTTOM_A_AFTER_TABS # text after the heading, before the first figure
|
|
@@ -462,6 +462,8 @@ with blocks:
|
|
| 462 |
submission_file = gr.File(label="JSONL solutions file", file_types=[".jsonl"])
|
| 463 |
|
| 464 |
logger.info("Submit button")
|
|
|
|
|
|
|
| 465 |
submit_button = gr.Button("Submit", variant="primary")
|
| 466 |
submission_result = gr.Markdown()
|
| 467 |
|
|
|
|
| 8 |
from huggingface_hub import whoami
|
| 9 |
|
| 10 |
# HTML is split so we can inject Gradio media (images/video) where needed.
|
| 11 |
+
from src.about import WHAT_IS_F1_HTML_AFTER_TIER1FIG_TAIL, SUBMISSION_TERMS_TEXT # tail after Tier1 fig
|
| 12 |
from src.about import WHAT_IS_F1_HTML_AFTER_VIDEO # text immediately after the video
|
| 13 |
from src.about import WHAT_IS_F1_HTML_AFTER_WARMUPFIG # text between warmup/tier1 figs
|
| 14 |
from src.about import WHAT_IS_F1_HTML_BOTTOM_A_AFTER_TABS # text after the heading, before the first figure
|
|
|
|
| 462 |
submission_file = gr.File(label="JSONL solutions file", file_types=[".jsonl"])
|
| 463 |
|
| 464 |
logger.info("Submit button")
|
| 465 |
+
|
| 466 |
+
gr.Markdown(SUBMISSION_TERMS_TEXT, elem_classes="markdown-text")
|
| 467 |
submit_button = gr.Button("Submit", variant="primary")
|
| 468 |
submission_result = gr.Markdown()
|
| 469 |
|
src/about.py
CHANGED
|
@@ -106,6 +106,23 @@ WHAT_IS_F1_HTML_AFTER_TIER1FIG_TAIL = """
|
|
| 106 |
</div>
|
| 107 |
"""
|
| 108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
EVALUATION_QUEUE_TEXT = """
|
| 110 |
## Submitting to the FormulaOne Leaderboard
|
| 111 |
|
|
|
|
| 106 |
</div>
|
| 107 |
"""
|
| 108 |
|
| 109 |
+
|
| 110 |
+
SUBMISSION_TERMS_TEXT = """
|
| 111 |
+
**Competition terms**
|
| 112 |
+
- By submitting, you agree to the **FormulaOne Submission Agreement
|
| 113 |
+
(v1.2)** and our **Privacy Notice**.
|
| 114 |
+
- Your uploaded file remains yours; we only use it to evaluate, score,
|
| 115 |
+
and contact you about your result.
|
| 116 |
+
**Licensing for the public benchmark assets (informational)**
|
| 117 |
+
- **Evaluator code:** Apache License 2.0
|
| 118 |
+
- **Problem statements & public tests:** Creative Commons **CC BY 4.0**
|
| 119 |
+
See the project's **README licence section** and full texts: `LICENSE-
|
| 120 |
+
APACHE2`, `LICENSE-CC-BY` in our GitHub repo.
|
| 121 |
+
**Platform**
|
| 122 |
+
- Your use of Hugging Face is also governed by Hugging Face's Terms and
|
| 123 |
+
Privacy Policy.
|
| 124 |
+
"""
|
| 125 |
+
|
| 126 |
EVALUATION_QUEUE_TEXT = """
|
| 127 |
## Submitting to the FormulaOne Leaderboard
|
| 128 |
|