Spaces:
Runtime error
Runtime error
removing search bar
Browse files
app.py
CHANGED
|
@@ -139,12 +139,12 @@ with demo:
|
|
| 139 |
|
| 140 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
| 141 |
with gr.TabItem("🏅 LLM Benchmark", elem_id="llm-benchmark-tab-table", id=0):
|
| 142 |
-
with gr.Row():
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
# with gr.Column():
|
| 149 |
# with gr.Row():
|
| 150 |
# search_bar = gr.Textbox(
|
|
@@ -219,7 +219,7 @@ with demo:
|
|
| 219 |
visible=True,
|
| 220 |
)
|
| 221 |
|
| 222 |
-
#
|
| 223 |
# hidden_leaderboard_table_for_search = gr.components.Dataframe(
|
| 224 |
# value=original_df[COLS],
|
| 225 |
# headers=COLS,
|
|
|
|
| 139 |
|
| 140 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
| 141 |
with gr.TabItem("🏅 LLM Benchmark", elem_id="llm-benchmark-tab-table", id=0):
|
| 142 |
+
# with gr.Row():
|
| 143 |
+
# search_bar = gr.Textbox(
|
| 144 |
+
# placeholder=" 🔍 Search for the model (separate multiple queries with `;`) and press ENTER...",
|
| 145 |
+
# show_label=False,
|
| 146 |
+
# elem_id="search-bar",
|
| 147 |
+
# )
|
| 148 |
# with gr.Column():
|
| 149 |
# with gr.Row():
|
| 150 |
# search_bar = gr.Textbox(
|
|
|
|
| 219 |
visible=True,
|
| 220 |
)
|
| 221 |
|
| 222 |
+
# Dummy leaderboard for handling the case when the user uses backspace key
|
| 223 |
# hidden_leaderboard_table_for_search = gr.components.Dataframe(
|
| 224 |
# value=original_df[COLS],
|
| 225 |
# headers=COLS,
|