taishi-i commited on
Commit
aaf6a7d
·
1 Parent(s): 2f3c505

Change to always open displat columns in a table to improve UI clarity

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -205,13 +205,7 @@ with gr.Blocks() as demo:
205
  label="Source",
206
  )
207
 
208
- with gr.Accordion("Select research categories", open=False):
209
- select_multi_labels = gr.CheckboxGroup(
210
- multi_labels_list,
211
- label="Research categories",
212
- )
213
-
214
- with gr.Accordion("Display columns in a table", open=False):
215
  show_checkbox = gr.CheckboxGroup(
216
  [
217
  "project_name",
@@ -234,6 +228,12 @@ with gr.Blocks() as demo:
234
  label="Display columns in a table",
235
  )
236
 
 
 
 
 
 
 
237
  df = gr.DataFrame(
238
  value=data,
239
  type="pandas",
 
205
  label="Source",
206
  )
207
 
208
+ with gr.Accordion("Display columns in a table", open=True):
 
 
 
 
 
 
209
  show_checkbox = gr.CheckboxGroup(
210
  [
211
  "project_name",
 
228
  label="Display columns in a table",
229
  )
230
 
231
+ with gr.Accordion("Select research categories", open=False):
232
+ select_multi_labels = gr.CheckboxGroup(
233
+ multi_labels_list,
234
+ label="Research categories",
235
+ )
236
+
237
  df = gr.DataFrame(
238
  value=data,
239
  type="pandas",