Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -202,10 +202,7 @@ with block:
|
|
202 |
choosen_s = gr.Button("Select ALL Semantic")
|
203 |
enable_b = gr.Button("Select All")
|
204 |
disable_b = gr.Button("Deselect All")
|
205 |
-
|
206 |
-
choosen_s.click(choose_all_semantic, inputs=None, outputs=[checkbox_group, data_component])
|
207 |
-
enable_b.click(enable_all, inputs=None, outputs=[checkbox_group, data_component])
|
208 |
-
disable_b.click(disable_all, inputs=None, outputs=[checkbox_group, data_component])
|
209 |
# selection for column part:
|
210 |
checkbox_group = gr.CheckboxGroup(
|
211 |
choices=TASK_INFO,
|
@@ -222,8 +219,11 @@ with block:
|
|
222 |
interactive=False,
|
223 |
visible=True,
|
224 |
)
|
225 |
-
|
226 |
-
|
|
|
|
|
|
|
227 |
checkbox_group.change(fn=on_filter_model_size_method_change, inputs=[ checkbox_group], outputs=data_component)
|
228 |
|
229 |
# table 2
|
|
|
202 |
choosen_s = gr.Button("Select ALL Semantic")
|
203 |
enable_b = gr.Button("Select All")
|
204 |
disable_b = gr.Button("Deselect All")
|
205 |
+
|
|
|
|
|
|
|
206 |
# selection for column part:
|
207 |
checkbox_group = gr.CheckboxGroup(
|
208 |
choices=TASK_INFO,
|
|
|
219 |
interactive=False,
|
220 |
visible=True,
|
221 |
)
|
222 |
+
|
223 |
+
choosen_q.click(choose_all_quailty, inputs=None, outputs=[checkbox_group, data_component])
|
224 |
+
choosen_s.click(choose_all_semantic, inputs=None, outputs=[checkbox_group, data_component])
|
225 |
+
enable_b.click(enable_all, inputs=None, outputs=[checkbox_group, data_component])
|
226 |
+
disable_b.click(disable_all, inputs=None, outputs=[checkbox_group, data_component])
|
227 |
checkbox_group.change(fn=on_filter_model_size_method_change, inputs=[ checkbox_group], outputs=data_component)
|
228 |
|
229 |
# table 2
|