Anonymous Authors commited on
Commit
3e7ca70
·
1 Parent(s): 5116490

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=[num_clusters, cluster_id], outputs=[gr.Text(),gr.Text(),gr.Text(),gr.Text(), 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)
 
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=[gr.Text(),gr.Text(),gr.Text(),gr.Text(), 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)