Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ def on_filter_model_size_method_change(selected_columns):
|
|
190 |
return filter_component#.value
|
191 |
|
192 |
def on_filter_model_size_method_change_quality(selected_columns):
|
193 |
-
updated_data =
|
194 |
#print(updated_data)
|
195 |
# columns:
|
196 |
selected_columns = [item for item in QUALITY_TAB if item in selected_columns]
|
@@ -265,7 +265,7 @@ with block:
|
|
265 |
disable_b.click(disable_all, inputs=None, outputs=[checkbox_group]).then(fn=on_filter_model_size_method_change, inputs=[ checkbox_group], outputs=data_component)
|
266 |
checkbox_group.change(fn=on_filter_model_size_method_change, inputs=[ checkbox_group], outputs=data_component)
|
267 |
|
268 |
-
with gr.TabItem("Video Quaity", elem_id="vbench-tab-table", id=
|
269 |
with gr.Row():
|
270 |
with gr.Column(scale=1.0):
|
271 |
# selection for column part:
|
@@ -288,11 +288,11 @@ with block:
|
|
288 |
checkbox_group_quality.change(fn=on_filter_model_size_method_change_quality, inputs=[checkbox_group_quality], outputs=data_component_quality)
|
289 |
|
290 |
# table 2
|
291 |
-
with gr.TabItem("π About", elem_id="mvbench-tab-table", id=
|
292 |
gr.Markdown(LEADERBORAD_INFO, elem_classes="markdown-text")
|
293 |
|
294 |
# table 3
|
295 |
-
with gr.TabItem("π Submit here! ", elem_id="mvbench-tab-table", id=
|
296 |
gr.Markdown(LEADERBORAD_INTRODUCTION, elem_classes="markdown-text")
|
297 |
|
298 |
with gr.Row():
|
|
|
190 |
return filter_component#.value
|
191 |
|
192 |
def on_filter_model_size_method_change_quality(selected_columns):
|
193 |
+
updated_data = get_all_df(selected_columns)
|
194 |
#print(updated_data)
|
195 |
# columns:
|
196 |
selected_columns = [item for item in QUALITY_TAB if item in selected_columns]
|
|
|
265 |
disable_b.click(disable_all, inputs=None, outputs=[checkbox_group]).then(fn=on_filter_model_size_method_change, inputs=[ checkbox_group], outputs=data_component)
|
266 |
checkbox_group.change(fn=on_filter_model_size_method_change, inputs=[ checkbox_group], outputs=data_component)
|
267 |
|
268 |
+
with gr.TabItem("Video Quaity", elem_id="vbench-tab-table", id=2):
|
269 |
with gr.Row():
|
270 |
with gr.Column(scale=1.0):
|
271 |
# selection for column part:
|
|
|
288 |
checkbox_group_quality.change(fn=on_filter_model_size_method_change_quality, inputs=[checkbox_group_quality], outputs=data_component_quality)
|
289 |
|
290 |
# table 2
|
291 |
+
with gr.TabItem("π About", elem_id="mvbench-tab-table", id=3):
|
292 |
gr.Markdown(LEADERBORAD_INFO, elem_classes="markdown-text")
|
293 |
|
294 |
# table 3
|
295 |
+
with gr.TabItem("π Submit here! ", elem_id="mvbench-tab-table", id=4):
|
296 |
gr.Markdown(LEADERBORAD_INTRODUCTION, elem_classes="markdown-text")
|
297 |
|
298 |
with gr.Row():
|