Spaces:
Runtime error
Runtime error
Anonymous Authors
commited on
Commit
·
a3da3e8
1
Parent(s):
28160d2
Update app.py
Browse files
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])
|
30 |
-
cluster_id = gr.Number(precision=0)
|
31 |
button = gr.Button(value="Go")
|
32 |
with gr.Column():
|
33 |
a = gr.Text(label="Number of items in cluster")
|
|
|
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], label="number of clusters")
|
30 |
+
cluster_id = gr.Number(precision=0, label="cluster id")
|
31 |
button = gr.Button(value="Go")
|
32 |
with gr.Column():
|
33 |
a = gr.Text(label="Number of items in cluster")
|