Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
feat: add the version selector
Browse files
app.py
CHANGED
@@ -113,6 +113,13 @@ with demo:
|
|
113 |
with gr.Row():
|
114 |
with gr.Column():
|
115 |
# search retrieval models
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
with gr.Row():
|
117 |
search_bar = gr.Textbox(
|
118 |
placeholder=" 🔍 Search for retrieval models (separate multiple queries with `;`) and press ENTER...",
|
@@ -263,6 +270,13 @@ with demo:
|
|
263 |
with gr.TabItem("Long Doc", elem_id="long-doc-benchmark-tab-table", id=1):
|
264 |
with gr.Row():
|
265 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
with gr.Row():
|
267 |
search_bar = gr.Textbox(
|
268 |
info="Search the retrieval models",
|
|
|
113 |
with gr.Row():
|
114 |
with gr.Column():
|
115 |
# search retrieval models
|
116 |
+
with gr.Row():
|
117 |
+
selected_version = gr.Dropdown(
|
118 |
+
choices=["AIR-Bench_24.04",],
|
119 |
+
value="AIR-Bench_24.04",
|
120 |
+
label="Select the version of AIR-Bench",
|
121 |
+
interactive = True
|
122 |
+
)
|
123 |
with gr.Row():
|
124 |
search_bar = gr.Textbox(
|
125 |
placeholder=" 🔍 Search for retrieval models (separate multiple queries with `;`) and press ENTER...",
|
|
|
270 |
with gr.TabItem("Long Doc", elem_id="long-doc-benchmark-tab-table", id=1):
|
271 |
with gr.Row():
|
272 |
with gr.Column():
|
273 |
+
with gr.Row():
|
274 |
+
selected_version = gr.Dropdown(
|
275 |
+
choices=["AIR-Bench_24.04",],
|
276 |
+
value="AIR-Bench_24.04",
|
277 |
+
label="Select the version of AIR-Bench",
|
278 |
+
interactive=True
|
279 |
+
)
|
280 |
with gr.Row():
|
281 |
search_bar = gr.Textbox(
|
282 |
info="Search the retrieval models",
|