yjernite commited on
Commit
dd164a7
1 Parent(s): 7935f3f

open by default is necessary to load()

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -261,7 +261,7 @@ with gr.Blocks(title=TITLE) as demo:
261
  """
262
  )
263
  with gr.Row():
264
- with gr.Accordion(label="Cluster summaries", open=False):
265
  cluster_descriptions_table = gr.Text(
266
  "TODO", label="Cluster summaries", show_label=False
267
  )
@@ -294,7 +294,7 @@ with gr.Blocks(title=TITLE) as demo:
294
  For more details, see the [companion demo](https://huggingface.co/spaces/society-ethics/DiffusionFaceClustering):
295
  """
296
  )
297
- with gr.Accordion(label="Cluster summaries", open=False):
298
  cluster_descriptions = gr.Text(
299
  "TODO", label="Cluster summaries", show_label=False
300
  )
@@ -305,7 +305,7 @@ with gr.Blocks(title=TITLE) as demo:
305
  You can show examples of profession images assigned to each identity cluster by selecting one here:
306
  """
307
  )
308
- with gr.Accordion(label="Cluster selection", open=False):
309
  cluster_id_focus = gr.Dropdown(
310
  choices=[i for i in range(num_clusters_focus.value)],
311
  value=0,
 
261
  """
262
  )
263
  with gr.Row():
264
+ with gr.Accordion(label="Cluster summaries", open=True):
265
  cluster_descriptions_table = gr.Text(
266
  "TODO", label="Cluster summaries", show_label=False
267
  )
 
294
  For more details, see the [companion demo](https://huggingface.co/spaces/society-ethics/DiffusionFaceClustering):
295
  """
296
  )
297
+ with gr.Accordion(label="Cluster summaries", open=True):
298
  cluster_descriptions = gr.Text(
299
  "TODO", label="Cluster summaries", show_label=False
300
  )
 
305
  You can show examples of profession images assigned to each identity cluster by selecting one here:
306
  """
307
  )
308
+ with gr.Accordion(label="Cluster selection", open=True):
309
  cluster_id_focus = gr.Dropdown(
310
  choices=[i for i in range(num_clusters_focus.value)],
311
  value=0,