Spaces:
Running
Running
BenchmarkBot
commited on
Commit
โข
5721994
1
Parent(s):
fda0b51
descriptive html
Browse files- app.py +11 -6
- src/assets/css_html_js.py +1 -4
app.py
CHANGED
@@ -217,11 +217,12 @@ with demo:
|
|
217 |
gr.HTML(TITLE)
|
218 |
|
219 |
# introduction text
|
220 |
-
gr.Markdown(INTRODUCTION_TEXT, elem_classes="
|
221 |
|
222 |
# leaderboard tabs
|
223 |
with gr.Tabs(elem_classes="A100-tabs") as A100_tabs:
|
224 |
-
with gr.TabItem("๐ฅ๏ธ A100-80GB
|
|
|
225 |
# Original leaderboard table
|
226 |
A100_leaderboard = gr.components.Dataframe(
|
227 |
value=A100_table,
|
@@ -230,7 +231,11 @@ with demo:
|
|
230 |
elem_id="1xA100-table",
|
231 |
)
|
232 |
|
233 |
-
with gr.TabItem("๐ฅ๏ธ A100-80GB
|
|
|
|
|
|
|
|
|
234 |
# Original leaderboard plot
|
235 |
A100_plotly = gr.components.Plot(
|
236 |
value=A100_plot,
|
@@ -238,7 +243,7 @@ with demo:
|
|
238 |
show_label=False,
|
239 |
)
|
240 |
|
241 |
-
with gr.TabItem("
|
242 |
# control panel interface
|
243 |
with gr.Row():
|
244 |
with gr.Column(scale=1):
|
@@ -298,8 +303,8 @@ with demo:
|
|
298 |
elem_id="filter-button",
|
299 |
)
|
300 |
|
301 |
-
with gr.TabItem("
|
302 |
-
gr.HTML(ABOUT_TEXT, elem_classes="
|
303 |
|
304 |
demo.load(
|
305 |
change_tab,
|
|
|
217 |
gr.HTML(TITLE)
|
218 |
|
219 |
# introduction text
|
220 |
+
gr.Markdown(INTRODUCTION_TEXT, elem_classes="descriptive-text")
|
221 |
|
222 |
# leaderboard tabs
|
223 |
with gr.Tabs(elem_classes="A100-tabs") as A100_tabs:
|
224 |
+
with gr.TabItem("๐ฅ๏ธ A100-80GB Benchmark ๐", id=0):
|
225 |
+
gr.HTML("๐ Scroll right ๐ to more columns.", elem_id="descriptive-text")
|
226 |
# Original leaderboard table
|
227 |
A100_leaderboard = gr.components.Dataframe(
|
228 |
value=A100_table,
|
|
|
231 |
elem_id="1xA100-table",
|
232 |
)
|
233 |
|
234 |
+
with gr.TabItem("๐ฅ๏ธ A100-80GB Plot ๐", id=1):
|
235 |
+
gr.HTML(
|
236 |
+
"๐ Hover over the points ๐ to get more information about models.",
|
237 |
+
elem_id="descriptive-text",
|
238 |
+
)
|
239 |
# Original leaderboard plot
|
240 |
A100_plotly = gr.components.Plot(
|
241 |
value=A100_plot,
|
|
|
243 |
show_label=False,
|
244 |
)
|
245 |
|
246 |
+
with gr.TabItem("Control Panel ๐๏ธ", id=2):
|
247 |
# control panel interface
|
248 |
with gr.Row():
|
249 |
with gr.Column(scale=1):
|
|
|
303 |
elem_id="filter-button",
|
304 |
)
|
305 |
|
306 |
+
with gr.TabItem("About ๐", id=3):
|
307 |
+
gr.HTML(ABOUT_TEXT, elem_classes="descriptive-text")
|
308 |
|
309 |
demo.load(
|
310 |
change_tab,
|
src/assets/css_html_js.py
CHANGED
@@ -1,8 +1,5 @@
|
|
1 |
custom_css = """
|
2 |
-
.
|
3 |
-
font-size: 16px !important;
|
4 |
-
}
|
5 |
-
.html-text {
|
6 |
font-size: 16px !important;
|
7 |
}
|
8 |
|
|
|
1 |
custom_css = """
|
2 |
+
.descriptive-text {
|
|
|
|
|
|
|
3 |
font-size: 16px !important;
|
4 |
}
|
5 |
|