Anonymous Authors commited on
Commit
2fda5e0
·
1 Parent(s): 1f830d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ with gr.Blocks() as demo:
26
  gr.Markdown("# Cluster Explorer")
27
  gr.HTML("""<span style="color:red">⚠️ <b>DISCLAIMER: the images displayed by this tool were generated by text-to-image models and may depict offensive stereotypes or contain explicit content.</b></span>""")
28
  with gr.Row():
29
- num_clusters = gr.Radio([12, 24, 48], value=12)
30
- cluster_id = gr.Slider(0, num_clusters.value)
31
  button = gr.Button(value="Go")
32
  with gr.Column():
33
  a = gr.Text()
 
26
  gr.Markdown("# Cluster Explorer")
27
  gr.HTML("""<span style="color:red">⚠️ <b>DISCLAIMER: the images displayed by this tool were generated by text-to-image models and may depict offensive stereotypes or contain explicit content.</b></span>""")
28
  with gr.Row():
29
+ num_clusters = gr.Radio([12, 24, 48])
30
+ cluster_id = gr.Number()
31
  button = gr.Button(value="Go")
32
  with gr.Column():
33
  a = gr.Text()