Anonymous Authors commited on
Commit
335988f
·
1 Parent(s): cfb8d54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -32,13 +32,12 @@ with gr.Blocks() as demo:
32
  with gr.Row():
33
  num_clusters = gr.Radio([12, 24, 48], label="number of clusters")
34
  cluster_id = gr.Number(precision=0, label="cluster id")
35
-
36
- button = gr.Button(value="Go")
37
  with gr.Column():
38
  a = gr.Text(label="Number of items in cluster")
39
  with gr.Row():
40
  c = gr.Text(label="Model makeup of cluster")
41
- b = gr.Markdown(label="Gender label makeup of cluster")
42
  d = gr.Text(label="Ethnicity label makeup of cluster")
43
  gallery = gr.Gallery(label="Most representative images in cluster").style(grid=6)
44
  button.click(fn=show_cluster, inputs=[cluster_id, num_clusters], outputs=[a,b,c,d, gallery])
 
32
  with gr.Row():
33
  num_clusters = gr.Radio([12, 24, 48], label="number of clusters")
34
  cluster_id = gr.Number(precision=0, label="cluster id")
35
+ button = gr.Button(value="Go")
 
36
  with gr.Column():
37
  a = gr.Text(label="Number of items in cluster")
38
  with gr.Row():
39
  c = gr.Text(label="Model makeup of cluster")
40
+ b = gr.Text(label="Gender label makeup of cluster")
41
  d = gr.Text(label="Ethnicity label makeup of cluster")
42
  gallery = gr.Gallery(label="Most representative images in cluster").style(grid=6)
43
  button.click(fn=show_cluster, inputs=[cluster_id, num_clusters], outputs=[a,b,c,d, gallery])