Spaces:
Running
Running
Commit
·
084a798
1
Parent(s):
e45867e
Test SVG in updates
Browse files- static/html_content.py +15 -0
- style/css_html_js.py +29 -0
static/html_content.py
CHANGED
|
@@ -60,6 +60,21 @@ INTRO_HTML = """
|
|
| 60 |
<p style="margin-top: -6px; text-align: start !important;">
|
| 61 |
<span style="font-variant: small-caps; font-weight: bold;">UPDATE (JUNE 2025):</span> We make our framework open-source on GitHub and we add 7 new recent models! For a total of 40 base and instruct models and 5 RTL benchmarks
|
| 62 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
</div>
|
| 64 |
</div>
|
| 65 |
"""
|
|
|
|
| 60 |
<p style="margin-top: -6px; text-align: start !important;">
|
| 61 |
<span style="font-variant: small-caps; font-weight: bold;">UPDATE (JUNE 2025):</span> We make our framework open-source on GitHub and we add 7 new recent models! For a total of 40 base and instruct models and 5 RTL benchmarks
|
| 62 |
</p>
|
| 63 |
+
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
| 64 |
+
viewBox="0 0 27.963 27.963" xml:space="preserve">
|
| 65 |
+
<g>
|
| 66 |
+
<g id="c129_exclamation">
|
| 67 |
+
<path d="M13.983,0C6.261,0,0.001,6.259,0.001,13.979c0,7.724,6.26,13.984,13.982,13.984s13.98-6.261,13.98-13.984
|
| 68 |
+
C27.963,6.259,21.705,0,13.983,0z M13.983,26.531c-6.933,0-12.55-5.62-12.55-12.553c0-6.93,5.617-12.548,12.55-12.548
|
| 69 |
+
c6.931,0,12.549,5.618,12.549,12.548C26.531,20.911,20.913,26.531,13.983,26.531z"/>
|
| 70 |
+
<polygon points="15.579,17.158 16.191,4.579 11.804,4.579 12.414,17.158 "/>
|
| 71 |
+
<path d="M13.998,18.546c-1.471,0-2.5,1.029-2.5,2.526c0,1.443,0.999,2.528,2.444,2.528h0.056c1.499,0,2.469-1.085,2.469-2.528
|
| 72 |
+
C16.441,19.575,15.468,18.546,13.998,18.546z"/>
|
| 73 |
+
</g>
|
| 74 |
+
<g id="Capa_1_207_">
|
| 75 |
+
</g>
|
| 76 |
+
</g>
|
| 77 |
+
</svg>
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
"""
|
style/css_html_js.py
CHANGED
|
@@ -250,6 +250,35 @@ flex-grow: 0;
|
|
| 250 |
}
|
| 251 |
}
|
| 252 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 253 |
"""
|
| 254 |
|
| 255 |
get_window_url_params = """
|
|
|
|
| 250 |
}
|
| 251 |
}
|
| 252 |
|
| 253 |
+
.change-log > svg {
|
| 254 |
+
width: 8em;
|
| 255 |
+
height: 8em;
|
| 256 |
+
fill: rgb(181, 181, 181);
|
| 257 |
+
position: absolute;
|
| 258 |
+
top: 40%;
|
| 259 |
+
right: 0;
|
| 260 |
+
margin: 0px 30px;
|
| 261 |
+
display: block;
|
| 262 |
+
overflow: hidden;
|
| 263 |
+
opacity: 0.1;
|
| 264 |
+
transform: rotate(12deg);
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
@media (prefers-color-scheme: dark) {
|
| 268 |
+
.change-log > svg {
|
| 269 |
+
width: 8em;
|
| 270 |
+
height: 8em;
|
| 271 |
+
fill: #ffab6e;
|
| 272 |
+
position: absolute;
|
| 273 |
+
top: 40%;
|
| 274 |
+
right: 0;
|
| 275 |
+
margin: 0px 30px;
|
| 276 |
+
display: block;
|
| 277 |
+
overflow: hidden;
|
| 278 |
+
opacity: 0.1;
|
| 279 |
+
transform: rotate(12deg);
|
| 280 |
+
}
|
| 281 |
+
}
|
| 282 |
"""
|
| 283 |
|
| 284 |
get_window_url_params = """
|