Spaces:
Sleeping
Sleeping
vtrv.vls
commited on
Commit
•
ac01403
1
Parent(s):
563852c
Tab for criteria
Browse files
app.py
CHANGED
@@ -224,11 +224,11 @@ def tab_offline_arena():
|
|
224 |
with gradio.Column(scale=1):
|
225 |
with gradio.Accordion("Choose criteria to sample", open=False, elem_classes="accordion-label"):
|
226 |
with gradio.Row():
|
227 |
-
with gradio.Tab("
|
228 |
select_criteria_1 = gradio.CheckboxGroup(['Criterion 1', "Criterion 2", "Criterion 3"], info="", value=['Criterion 1', "Criterion 2", "Criterion 3"], show_label=False, elem_id="select-criteria", interactive=True)
|
229 |
-
with gradio.Tab("
|
230 |
select_criteria_2 = gradio.CheckboxGroup(['Criterion 1', "Criterion 2", "Criterion 3"], info="", value=['Criterion 1', "Criterion 2", "Criterion 3"], show_label=False, elem_id="select-criteria", interactive=True)
|
231 |
-
with gradio.Tab("
|
232 |
select_criteria_3 = gradio.CheckboxGroup(['Criterion 1', "Criterion 2", "Criterion 3"], info="", value=['Criterion 1', "Criterion 2", "Criterion 3"], show_label=False, elem_id="select-criteria", interactive=True)
|
233 |
|
234 |
clear_criteria_button = gradio.Button("Clear", elem_classes="btn_boderline_gray", scale=1)
|
|
|
224 |
with gradio.Column(scale=1):
|
225 |
with gradio.Accordion("Choose criteria to sample", open=False, elem_classes="accordion-label"):
|
226 |
with gradio.Row():
|
227 |
+
with gradio.Tab("Task 1"):
|
228 |
select_criteria_1 = gradio.CheckboxGroup(['Criterion 1', "Criterion 2", "Criterion 3"], info="", value=['Criterion 1', "Criterion 2", "Criterion 3"], show_label=False, elem_id="select-criteria", interactive=True)
|
229 |
+
with gradio.Tab("Task 2"):
|
230 |
select_criteria_2 = gradio.CheckboxGroup(['Criterion 1', "Criterion 2", "Criterion 3"], info="", value=['Criterion 1', "Criterion 2", "Criterion 3"], show_label=False, elem_id="select-criteria", interactive=True)
|
231 |
+
with gradio.Tab("Task 3"):
|
232 |
select_criteria_3 = gradio.CheckboxGroup(['Criterion 1', "Criterion 2", "Criterion 3"], info="", value=['Criterion 1', "Criterion 2", "Criterion 3"], show_label=False, elem_id="select-criteria", interactive=True)
|
233 |
|
234 |
clear_criteria_button = gradio.Button("Clear", elem_classes="btn_boderline_gray", scale=1)
|