Spaces:
Running
Running
BenchmarkBot
commited on
Commit
β’
05aa7eb
1
Parent(s):
996d4ed
click event inside dmo context
Browse files
app.py
CHANGED
@@ -187,15 +187,16 @@ with demo:
|
|
187 |
# elem_id="1xA100-plot",
|
188 |
# show_label=False,
|
189 |
# )
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
|
|
199 |
with gr.Row():
|
200 |
with gr.Accordion("π Citation", open=False):
|
201 |
citation_button = gr.Textbox(
|
|
|
187 |
# elem_id="1xA100-plot",
|
188 |
# show_label=False,
|
189 |
# )
|
190 |
+
|
191 |
+
# Callbacks
|
192 |
+
submit_button.click(
|
193 |
+
submit_query,
|
194 |
+
[
|
195 |
+
search_bar, backend_checkboxes, datatype_checkboxes, threshold_slider,
|
196 |
+
single_A100_for_search
|
197 |
+
],
|
198 |
+
[single_A100_leaderboard]
|
199 |
+
)
|
200 |
with gr.Row():
|
201 |
with gr.Accordion("π Citation", open=False):
|
202 |
citation_button = gr.Textbox(
|