Spaces:
Runtime error
Runtime error
Anonymous Authors
commited on
Commit
·
601c134
1
Parent(s):
3e7ca70
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,6 @@ with gr.Blocks() as demo:
|
|
35 |
c = gr.Text()
|
36 |
d = gr.Text()
|
37 |
gallery = gr.Gallery().style(grid=4)
|
38 |
-
button.click(fn=show_cluster, inputs=[cluster_id, num_clusters], outputs=[
|
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)
|
|
|
35 |
c = gr.Text()
|
36 |
d = gr.Text()
|
37 |
gallery = gr.Gallery().style(grid=4)
|
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)
|