albertvillanova HF staff commited on
Commit
bf6ab81
1 Parent(s): 71dfe85

Make Results tasks (in)visible

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. src/results.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ with gr.Blocks(fill_height=True) as demo:
37
  label="Tasks",
38
  info="Evaluation tasks to be displayed",
39
  value="All",
40
- interactive=False,
41
  )
42
  with gr.Tab("Results"):
43
  results = gr.HTML()
 
37
  label="Tasks",
38
  info="Evaluation tasks to be displayed",
39
  value="All",
40
+ visible=False,
41
  )
42
  with gr.Tab("Results"):
43
  results = gr.HTML()
src/results.py CHANGED
@@ -79,7 +79,7 @@ def update_tasks_component():
79
  label="Tasks",
80
  info="Evaluation tasks to be displayed",
81
  value="All",
82
- interactive=True,
83
  )
84
 
85
 
 
79
  label="Tasks",
80
  info="Evaluation tasks to be displayed",
81
  value="All",
82
+ visible=True,
83
  )
84
 
85