π Switch from gr.Row to gr.Tabs
Browse files- app.py +2 -2
- requirements.txt +2 -2
app.py
CHANGED
|
@@ -129,10 +129,10 @@ with demo:
|
|
| 129 |
gr.HTML(build_header_html(BENCHMARK_RUN_DF))
|
| 130 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
| 131 |
|
| 132 |
-
with gr.
|
| 133 |
with gr.Tab("π Leaderboard"):
|
| 134 |
leaderboard = init_leaderboard(LEADERBOARD_DF)
|
| 135 |
-
|
| 136 |
with gr.Tab("π Benchmark Runs"):
|
| 137 |
benchmark_runs = init_benchmark_runs(BENCHMARK_RUN_DF)
|
| 138 |
gr.Markdown("\* `internal` refers to internal benchmarks performed by the model provider where the harness/environment were not made public")
|
|
|
|
| 129 |
gr.HTML(build_header_html(BENCHMARK_RUN_DF))
|
| 130 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
| 131 |
|
| 132 |
+
with gr.Tabs():
|
| 133 |
with gr.Tab("π Leaderboard"):
|
| 134 |
leaderboard = init_leaderboard(LEADERBOARD_DF)
|
| 135 |
+
|
| 136 |
with gr.Tab("π Benchmark Runs"):
|
| 137 |
benchmark_runs = init_benchmark_runs(BENCHMARK_RUN_DF)
|
| 138 |
gr.Markdown("\* `internal` refers to internal benchmarks performed by the model provider where the harness/environment were not made public")
|
requirements.txt
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
APScheduler
|
| 2 |
black
|
| 3 |
datasets
|
| 4 |
-
gradio
|
| 5 |
-
gradio[oauth]
|
| 6 |
gradio_leaderboard
|
| 7 |
gradio_client
|
| 8 |
huggingface-hub>=0.18.0
|
|
|
|
| 1 |
APScheduler
|
| 2 |
black
|
| 3 |
datasets
|
| 4 |
+
gradio
|
| 5 |
+
gradio[oauth]
|
| 6 |
gradio_leaderboard
|
| 7 |
gradio_client
|
| 8 |
huggingface-hub>=0.18.0
|