Spaces:
Paused
Paused
Amber Tanaka
commited on
About Page Adjustments (#72)
Browse files- about.py +17 -7
- content.py +28 -1
about.py
CHANGED
|
@@ -97,7 +97,7 @@ def build_page():
|
|
| 97 |
</ul>
|
| 98 |
|
| 99 |
<p>
|
| 100 |
-
<em>Note: Cost values reflect pricing and infrastructure conditions at
|
| 101 |
</p>
|
| 102 |
|
| 103 |
<h3>Coverage</h3>
|
|
@@ -117,14 +117,24 @@ def build_page():
|
|
| 117 |
# --- Section 6: Learn More ---
|
| 118 |
gr.HTML(
|
| 119 |
"""
|
| 120 |
-
<
|
| 121 |
-
|
| 122 |
-
<
|
| 123 |
-
|
| 124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
"""
|
| 126 |
)
|
| 127 |
-
|
| 128 |
# Floating feedback button
|
| 129 |
floating_feedback_button_html = """
|
| 130 |
<div>
|
|
|
|
| 97 |
</ul>
|
| 98 |
|
| 99 |
<p>
|
| 100 |
+
<em>Note: Cost values reflect pricing and infrastructure conditions at a fixed point in time. We recognize that compute costs may change over time and vary by provider, and are actively working on methods to keep costs up-to-date and normalized for fair comparisons.</em>
|
| 101 |
</p>
|
| 102 |
|
| 103 |
<h3>Coverage</h3>
|
|
|
|
| 117 |
# --- Section 6: Learn More ---
|
| 118 |
gr.HTML(
|
| 119 |
"""
|
| 120 |
+
<div class="learn-more-section">
|
| 121 |
+
<h2>Learn More</h2>
|
| 122 |
+
<div class="link-buttons-container">
|
| 123 |
+
|
| 124 |
+
<a href="https://allenai.org/blog/astabench" target="_blank" class="link-button">
|
| 125 |
+
<span style="color:#0fcb8c;">AstaBench technical blog post</span>
|
| 126 |
+
<span class="external-link-icon">↗</span>
|
| 127 |
+
</a>
|
| 128 |
+
|
| 129 |
+
<a href="/submit" target="_blank" class="link-button">
|
| 130 |
+
<span style="color:#0fcb8c;">Submit an agent for evaluation</span>
|
| 131 |
+
<span class="external-link-icon">↗</span>
|
| 132 |
+
</a>
|
| 133 |
+
|
| 134 |
+
</div>
|
| 135 |
+
</div>
|
| 136 |
"""
|
| 137 |
)
|
|
|
|
| 138 |
# Floating feedback button
|
| 139 |
floating_feedback_button_html = """
|
| 140 |
<div>
|
content.py
CHANGED
|
@@ -516,7 +516,6 @@ span.wrap[tabindex="0"][role="button"][data-editable="false"] {
|
|
| 516 |
color: white;
|
| 517 |
border: none;
|
| 518 |
border-radius: 4px;
|
| 519 |
-
margin: 5px 0 0 24px;
|
| 520 |
padding: 15px 20px;
|
| 521 |
font-size: 16px;
|
| 522 |
cursor: pointer;
|
|
@@ -655,7 +654,35 @@ span.wrap[tabindex="0"][role="button"][data-editable="false"] {
|
|
| 655 |
gap: 40px;
|
| 656 |
margin-top: 40px;
|
| 657 |
opacity: 85%;
|
|
|
|
| 658 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 659 |
#leaderboard-accordion table {
|
| 660 |
width: auto !important;
|
| 661 |
margin-right: auto !important;
|
|
|
|
| 516 |
color: white;
|
| 517 |
border: none;
|
| 518 |
border-radius: 4px;
|
|
|
|
| 519 |
padding: 15px 20px;
|
| 520 |
font-size: 16px;
|
| 521 |
cursor: pointer;
|
|
|
|
| 654 |
gap: 40px;
|
| 655 |
margin-top: 40px;
|
| 656 |
opacity: 85%;
|
| 657 |
+
margin-bottom: 60px;
|
| 658 |
}
|
| 659 |
+
.link-buttons-container {
|
| 660 |
+
display: flex;
|
| 661 |
+
flex-wrap: wrap; /* Allows buttons to stack on very narrow screens */
|
| 662 |
+
gap: 16px;
|
| 663 |
+
margin-top: 16px;
|
| 664 |
+
}
|
| 665 |
+
.link-button {
|
| 666 |
+
display: flex;
|
| 667 |
+
justify-content: space-between;
|
| 668 |
+
align-items: center;
|
| 669 |
+
flex-grow: 1;
|
| 670 |
+
background-color: #083c40;
|
| 671 |
+
padding: 16px 20px;
|
| 672 |
+
font-weight: 600;
|
| 673 |
+
border-radius: 12px;
|
| 674 |
+
text-decoration: none;
|
| 675 |
+
transition: background-color 0.2s ease-in-out;
|
| 676 |
+
}
|
| 677 |
+
.link-button:hover {
|
| 678 |
+
background-color: #0a4c52;
|
| 679 |
+
}
|
| 680 |
+
.external-link-icon {
|
| 681 |
+
font-size: 20px;
|
| 682 |
+
line-height: 1;
|
| 683 |
+
margin-left: 12px;
|
| 684 |
+
}
|
| 685 |
+
|
| 686 |
#leaderboard-accordion table {
|
| 687 |
width: auto !important;
|
| 688 |
margin-right: auto !important;
|