Spaces:
Runtime error
Runtime error
Anonymous Authors
commited on
Commit
·
67a6c7e
1
Parent(s):
94f6f25
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ with gr.Blocks() as demo:
|
|
34 |
b = gr.Text()
|
35 |
c = gr.Text()
|
36 |
d = gr.Text()
|
37 |
-
gallery = gr.Gallery().style(grid=
|
38 |
button.click(fn=show_cluster, inputs=[cluster_id, num_clusters], outputs=[a,b,c,d, gallery])
|
39 |
# demo = gr.Interface(fn=show_cluster, inputs=[gr.Slider(0, 50), gr.Radio([12, 24, 48])], outputs=["text", "text", "text", "text", gr.Gallery()])
|
40 |
demo.launch(debug=True)
|
|
|
34 |
b = gr.Text()
|
35 |
c = gr.Text()
|
36 |
d = gr.Text()
|
37 |
+
gallery = gr.Gallery().style(grid=6)
|
38 |
button.click(fn=show_cluster, inputs=[cluster_id, num_clusters], outputs=[a,b,c,d, gallery])
|
39 |
# demo = gr.Interface(fn=show_cluster, inputs=[gr.Slider(0, 50), gr.Radio([12, 24, 48])], outputs=["text", "text", "text", "text", gr.Gallery()])
|
40 |
demo.launch(debug=True)
|